Ghost/.github/workflows/label-actions.yml
Daniel Lockyer 064e91fb2d
Added pull_request event type to label actions workflow triggers
refs https://github.com/TryGhost/Toolbox/issues/381

- we want to start collecting events from pull requests so we can label
  and reply upon certain events
- this adds the `closed` and `labeled` events to the workflow triggers
2022-09-05 11:53:46 +01:00

18 lines
319 B
YAML

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