File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,16 @@ permissions:
2222jobs :
2323 noResponse :
2424 runs-on : ubuntu-latest
25- if : github.repository == 'github/docs'
25+ # Only run in the OS repository, and skip bot-authored events. On failure the
26+ # create-workflow-failure-issue step below posts a comment (as a bot); that
27+ # comment is itself an issue_comment event that would re-trigger this workflow.
28+ # During a transient failure that loops, so guard against bot actors to keep
29+ # one failure from producing a flood of runs and Slack alerts.
30+ if : >-
31+ github.repository == 'github/docs' &&
32+ github.actor != 'docs-bot' &&
33+ github.actor != 'github-actions' &&
34+ !endsWith(github.actor, '[bot]')
2635 steps :
2736 - uses : actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
2837 with :
You can’t perform that action at this time.
0 commit comments