Ghost/.github/workflows/auto-assign.yml
Daniel Lockyer 99d601bc9f
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
2021-09-09 09:49:08 +01:00

15 lines
326 B
YAML

name: Auto Assign
on:
pull_request:
types: [opened, reopened]
jobs:
automate:
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