Files
wasmtime/.github/workflows/subscribe-to-label.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 5: mapping key "on" already defined at line 2
Nick Fitzgerald 23916329bd Run the subscribe-to-label action on a schedule rather than on pull requests (#1296)
Ideally, this would be on "labeled" types of pull request events, but that
doesn't work if the pull request is from another fork. For example, see
https://github.com/actions/labeler/issues/12
2020-03-12 10:49:05 -05:00

19 lines
537 B
YAML

name: "Subscribe to Label"
on:
issues:
types: ["labeled"]
on:
schedule:
# Run pull request triage every 5 minutes. Ideally, this would be on
# "labeled" types of pull request events, but that doesn't work if the pull
# request is from another fork. For example, see
# https://github.com/actions/labeler/issues/12
- cron: '*/5 * * * *'
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: bytecodealliance/subscribe-to-label-action@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"