From 70917118da1fd1365538365e37a5de827ac472c8 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski Date: Mon, 15 Apr 2024 02:41:55 +0000 Subject: [PATCH] Use a different PAT with updated permissions. --- .github/workflows/add_new_rust_to_matrix.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/add_new_rust_to_matrix.yml b/.github/workflows/add_new_rust_to_matrix.yml index b6e2102c..d8e56442 100644 --- a/.github/workflows/add_new_rust_to_matrix.yml +++ b/.github/workflows/add_new_rust_to_matrix.yml @@ -29,7 +29,7 @@ env: jobs: update-ci-yml: if: github.repository_owner == 'obi1kenobi' - name: update dependencies + name: update Rust version matrix runs-on: ubuntu-latest steps: - name: checkout the source code @@ -143,7 +143,7 @@ jobs: # PRs opened from a workflow using the standard `GITHUB_TOKEN` in GitHub Actions # do not automatically trigger more workflows: # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow - GITHUB_TOKEN: ${{ secrets.DEPS_UPDATER_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RUST_UPDATER_GITHUB_TOKEN }} run: | set -euo pipefail @@ -163,7 +163,7 @@ jobs: # PRs opened from a workflow using the standard `GITHUB_TOKEN` in GitHub Actions # do not automatically trigger more workflows: # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow - GITHUB_TOKEN: ${{ secrets.DEPS_UPDATER_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RUST_UPDATER_GITHUB_TOKEN }} run: | set -euo pipefail gh pr create --title "${PR_TITLE}" --body-file body.md --repo "$GITHUB_REPOSITORY"