From 99d601bc9f3511601c0f51427992222f772a0409 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 9 Sep 2021 09:49:08 +0100 Subject: [PATCH] Moved `GITHUB_TOKEN` env variable to workflow scope no issue - the CLI install extension step also needs the token so it's just best to include it globally in the workflow --- .github/workflows/auto-assign.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index f97120a1b7..8488926c68 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -7,9 +7,8 @@ jobs: runs-on: ubuntu-18.04 env: FORCE_COLOR: 1 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 - run: gh extension install daniellockyer/gh-auto-assign - run: gh auto-assign - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}