Files
nixpkgs/.github
Wolfgang Walther 59ac9479e4 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.
2025-06-25 12:30:10 +02:00
..
2025-06-12 14:47:42 +02:00
2025-06-12 14:46:42 +02:00
2025-06-12 14:46:42 +02:00
2025-06-12 14:46:42 +02:00