summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-06-25 12:30:10 +0200
committerWolfgang Walther <walther@technowledgy.de>2025-06-25 12:30:10 +0200
commit59ac9479e4675cb052723b971cc02064e85209c8 (patch)
treef566b827fbd53dd47188247043d1ee05f8705c4f /pkgs/development/python-modules/python-sql
parentc9257371dc8bc0a2f1e2c65997d2cc4a5ad7996e (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions