ci: Auto assign renovate prs to vasfvitor hehehe

This commit is contained in:
Fabian-Lars
2024-09-19 12:48:10 +02:00
committed by GitHub
parent d9c19c336e
commit 05ef729ce5

View File

@@ -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"