Skip to content

Commit

Permalink
Use intermediate PR_TITLE variable to secure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niklassiemer committed Jun 7, 2023
1 parent bd1022c commit 8b6ec10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/UpdateDependabotPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ jobs:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}
- name: UpdateEnvironmentFile
env:
PR_TITLE: ${{ github.event.pull_request.title }}
shell: bash -l {0}
run: |
python .ci_support/update_environment.py ${{ github.event.pull_request.title }}
python .ci_support/update_environment.py $PR_TITLE
- name: UpdateDependabotPR commit
run: |
git config --local user.email "[email protected]"
Expand Down

0 comments on commit 8b6ec10

Please sign in to comment.