264678e9be
fixes https://github.com/TryGhost/Toolbox/issues/285 - without this, some of the workflows that are only useful for the core team will run on forks - this commit adds checks to ensure we're running on a repo maintained by the TryGhost organization for a handful of workflows
16 lines
372 B
YAML
16 lines
372 B
YAML
name: Auto Assign
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened]
|
|
jobs:
|
|
automate:
|
|
runs-on: ubuntu-18.04
|
|
if: github.repository_owner == 'TryGhost'
|
|
env:
|
|
FORCE_COLOR: 1
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: gh extension install daniellockyer/gh-auto-assign
|
|
- run: gh auto-assign
|