We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d0d3e commit c6461d6Copy full SHA for c6461d6
.github/workflows/assign-dependabot-pr-reviewers.yaml
@@ -0,0 +1,19 @@
1
+name: Assign reviewer to dependabot PRs
2
+# This action assigns the ScalarDL team as reviewers when Dependabot opens a pull request.
3
+
4
+on:
5
+ pull_request:
6
+ types: [opened]
7
8
+jobs:
9
+ assign-reviewer:
10
+ runs-on: ubuntu-latest
11
+ if: github.actor == 'dependabot[bot]'
12
13
+ steps:
14
+ - name: Assign ScalarDL team as reviewers for Dependabot PRs
15
+ env:
16
+ GH_TOKEN: ${{ secrets.ASSIGN_PR_REVIEWERS_PAT }}
17
+ PR_NUMBER: ${{ github.event.pull_request.number }}
18
+ REPOSITORY: ${{ github.repository }}
19
+ run: gh pr edit $PR_NUMBER --repo $REPOSITORY --add-reviewer scalar-labs/scalardl
0 commit comments