Skip to content

Commit ef8962c

Browse files
committed
bug(ci): another dependabot attempt
1 parent 6bf9ed5 commit ef8962c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/dependabot-assignments.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ jobs:
1111
if: ${{ github.actor == 'dependabot[bot]' }}
1212
steps:
1313
- name: Assign team to PR
14-
# This is a workaround a limitation in the GitHub CLI.
15-
# Can probably simplify after this issue is closed:
16-
# https://github.com/cli/cli/issues/4844
17-
run: |
18-
curl -X POST \
19-
-H "Accept: application/vnd.github+json" \
20-
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"\
21-
-H "X-GitHub-Api-Version: 2022-11-28" \
22-
https://api.github.com/repos/${{ github.repository }}/pulls/${{github.event.pull_request.number}}/requested_reviewers \
23-
-d '{"team_reviewers":["code-reviewers"]}'
14+
run: gh pr edit "$PR_URL" --add-reviewer "code-reviewers"
15+
env:
16+
PR_URL: ${{github.event.pull_request.html_url}}

0 commit comments

Comments
 (0)