From 221601cb94e8ed10382ca89a38af74fa1ab68227 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Mon, 14 Oct 2024 14:35:56 +0100 Subject: [PATCH] replace default GH token with fine grained access token (#930) --- .github/workflows/release.yml | 2 +- .github/workflows/update_pre_commit.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0a07da92..579fb6f7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: secrets: collection_api_key_1: ${{ secrets.GALAXY_INFRA_KEY }} collection_api_key_2: ${{ secrets.CRC_PUBLISH_KEY }} - git_token: ${{ secrets.GITHUB_TOKEN }} + git_token: ${{ secrets.GH_WORKFLOW_KEY }} quay_token: ${{ secrets.quay_token }} matrix_token: ${{ secrets.matrix_token }} ... diff --git a/.github/workflows/update_pre_commit.yml b/.github/workflows/update_pre_commit.yml index edbd05279..c1d389cd8 100644 --- a/.github/workflows/update_pre_commit.yml +++ b/.github/workflows/update_pre_commit.yml @@ -14,5 +14,5 @@ jobs: with: github_actor: ${{ github.actor }} secrets: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_WORKFLOW_KEY }} ...