Files
nixpkgs/.github
Wolfgang Walther cc2830d4a8 workflows/labels: fix merge conflict label
The previous implementation had two problems:
- When switching from /search to /pulls, we disabled the additional GET
on each single pull request - which causes no test merge commit creation
for all PRs. This means, merge conflicts will not actually be detected.
- By using `item` in the pull-request triggered case, this goes back to
`context.payload.pull_request`, which is the state *at the beginning* of
the workflow run. But this renders our "let's wait 3 minutes before
checking merge_commit_sha" logic void. While we wait for 3 minutes, we
still use the *old* value afterwards...

Just making the extra request every time simplifies the logic and solves
both problems.

(cherry picked from commit 59ac9479e4)
2025-06-25 13:02:44 +02:00
..
2025-06-15 12:27:21 +02:00
2025-06-15 12:27:17 +02:00
2025-06-15 12:27:17 +02:00
2025-06-15 12:27:17 +02:00
2024-11-14 09:10:54 -08:00