From a0878d5a0fe6ca46dfe89396923fb2f44462a21e Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Mon, 4 Nov 2024 16:53:27 +0000 Subject: [PATCH] Use a dedicated token to create the "update constraints" PR. 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. --- .github/workflows/constraints.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/constraints.yml b/.github/workflows/constraints.yml index 46ab8c9e..eebf2aab 100644 --- a/.github/workflows/constraints.yml +++ b/.github/workflows/constraints.yml @@ -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: |