Skip to content

Commit

Permalink
Use a dedicated token to create the "update constraints" PR.
Browse files Browse the repository at this point in the history
When updating the Python constraints, create the PR using a dedicated
token instead of the default GITHUB_TOKEN. Using the default token has
the side-effect that the PR will not trigger any workflow, which in
particular means that the test suite (`build-and-test.yml` workflow)
will not be run.

A new token has been created on @gouttegd's account and added to the ODK
repository. This commit amend the "update-constraints" workflow to
specifically use that token.
  • Loading branch information
gouttegd committed Nov 4, 2024
1 parent 53d3293 commit a0878d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/constraints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: peter-evans/create-pull-request@v3
if: ${{ success() }}
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
commit-message: Update constraints.txt
title: 'Update constraints.txt'
body: |
Expand Down

0 comments on commit a0878d5

Please # to comment.