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
This commit is contained in:
Daniel Lockyer 2021-09-09 09:49:08 +01:00
parent c05432889a
commit 99d601bc9f
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -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 }}