064e91fb2d
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
18 lines
319 B
YAML
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
|