From 0caadf94e9b3cc400773df5a119fa5a7362fc902 Mon Sep 17 00:00:00 2001 From: Katherine Fairchild Date: Wed, 10 Jan 2024 16:15:02 -0500 Subject: [PATCH] use custom workflow token for labeling (#495) Co-authored-by: Katherine Fairchild --- .github/workflows/check_if_pr_is_automergeable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_if_pr_is_automergeable.yml b/.github/workflows/check_if_pr_is_automergeable.yml index 68d4e8237..9a0a52cef 100644 --- a/.github/workflows/check_if_pr_is_automergeable.yml +++ b/.github/workflows/check_if_pr_is_automergeable.yml @@ -59,7 +59,7 @@ jobs: echo "PR_NUMBER=$( python brainscore_vision/submission/actions_helpers.py get_pr_num )" >> $GITHUB_ENV - name: Add automerge-approved label to PR env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} GH_REPO: ${{ github.repository }} NUMBER: ${{ env.PR_NUMBER }} LABELS: automerge-approved