Skip to content

Commit f088a19

Browse files
authored
Merge pull request #838 from cmu-delphi/ds/dependabot
bug(ci): pull GH_TOKEN out if conditional?
2 parents bbc9595 + 73262fb commit f088a19

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dependabot-assignments.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ permissions: write-all
66
jobs:
77
dependabot:
88
runs-on: ubuntu-latest
9+
env:
10+
GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }}
911
if: ${{ github.actor == 'dependabot[bot]' }}
1012
steps:
1113
- name: Assign team to PR
1214
run: gh pr edit "$PR_URL" --add-reviewer "code-reviewers"
1315
env:
14-
PR_URL: ${{github.event.pull_request.html_url}}
15-
GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }}
16+
PR_URL: ${{github.event.pull_request.html_url}}

0 commit comments

Comments
 (0)