1name: "Issue / PR Triage" 2 3on: 4 schedule: 5 # Run pull request triage once an hour. Ideally, this would be on 6 # "labeled" types of pull request events, but that doesn't work if the pull 7 # request is from another fork. For example, see 8 # https://github.com/actions/labeler/issues/12 9 - cron: '42 * * * *' 10 11concurrency: 12 group: issue-triage 13 cancel-in-progress: true 14 15jobs: 16 triage: 17 if: github.repository == 'bytecodealliance/wasmtime' 18 runs-on: ubuntu-latest 19 steps: 20 21 # Automatically label PRs that touch certain directories with certain 22 # labels. 23 - uses: bytecodealliance/labeler@schedule-fork 24 with: 25 repo-token: "${{ secrets.GITHUB_TOKEN }}" 26 continue-on-error: true 27 28 # @-mention people who are subscribed to a label when an issue/PR is given 29 # that label. 30 - uses: bytecodealliance/subscribe-to-label-action@v1 31 with: 32 repo-token: "${{ secrets.GITHUB_TOKEN }}" 33 continue-on-error: true 34 35 # Leave pre-determined comments on issues/PRs that are given a certain label. 36 - uses: bytecodealliance/label-messager-action@v1 37 with: 38 repo-token: "${{ secrets.GITHUB_TOKEN }}" 39 continue-on-error: true 40