github: fix needs-more-info label race condition
Remove the `issues: labeled` trigger from the timer workflow. When both workflows triggered on label addition, the comment workflow would post the bot comment, and by the time the timer workflow ran, issue-manager would see "a comment was added after the label" and immediately remove the label due to `remove_label_on_comment: true`. The timer workflow now only runs on: - Daily cron (to close stale issues) - issue_comment (to remove label when humans respond) - workflow_dispatch (for manual testing)
This commit is contained in:
parent
c1b468f9f4
commit
e0d8c3c877
2
.github/workflows/needs-more-info-timer.yml
vendored
2
.github/workflows/needs-more-info-timer.yml
vendored
@ -5,8 +5,6 @@ on:
|
|||||||
- cron: "0 0 * * *" # Daily at midnight UTC
|
- cron: "0 0 * * *" # Daily at midnight UTC
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created]
|
types: [created]
|
||||||
issues:
|
|
||||||
types: [labeled]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user