Ghost/.github/workflows/label-actions.yml
Daniel Lockyer 264678e9be
Prevented certain GitHub Actions workflows from running on forks
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
2022-06-01 17:54:26 -04:00

15 lines
253 B
YAML

name: 'Label Issues'
on:
issues:
types: [opened, closed, labeled]
schedule:
- cron: '0 * * * *'
jobs:
action:
runs-on: ubuntu-latest
if: github.repository_owner == 'TryGhost'
steps:
- uses: tryghost/label-actions@main