mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
ci: Auto assign renovate prs to vasfvitor hehehe
This commit is contained in:
7
.github/workflows/assign.yml
vendored
7
.github/workflows/assign.yml
vendored
@@ -15,3 +15,10 @@ jobs:
|
||||
# The gh cli currently does not consider the pr author an assignable user if they aren't part of the org
|
||||
run: gh api -X POST /repos/tauri-apps/tauri-docs/issues/${{ github.event.pull_request.number }}/assignees -f "assignees[]=${{ github.event.pull_request.user.login }}"
|
||||
#run: gh pr edit ${{ github.event.pull_request.number }} --add-assignee ${{ github.event.pull_request.user.login }} -R ${{ github.repository }}
|
||||
|
||||
- name: Auto-assign Renovate PRs
|
||||
if: ${{ github.event.pull_request.user.type == 'Bot' && github.event.pull_request.user.login == 'renovate[bot]' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# The gh cli currently does not consider the pr author an assignable user if they aren't part of the org
|
||||
run: gh api -X POST /repos/tauri-apps/tauri-docs/issues/${{ github.event.pull_request.number }}/assignees -f "assignees[]=vasfvitor"
|
||||
|
||||
Reference in New Issue
Block a user