main.workflow 461 B

1234567891011121314151617
  1. workflow "Triage Pull Request" {
  2. on = "pull_request"
  3. resolves = ["Triage"]
  4. }
  5. # Only act if there are code changes: if the pull_request
  6. # event's action is either 'opened' (new PR) or 'synchronize' (new commits)
  7. action "Filter actions" {
  8. uses = "actions/bin/filter@0ac6d44"
  9. args = "action 'opened|synchronize'"
  10. }
  11. action "Triage" {
  12. needs = ["Filter actions"]
  13. uses = "ohmyzsh/github-actions/pull-request-triage@master"
  14. secrets = ["GITHUB_TOKEN"]
  15. }