summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-08-16 20:56:17 +0200
committerWolfgang Walther <walther@technowledgy.de>2025-08-24 18:09:08 +0200
commit87d9b08ffbb7d91109c159900809097d7e401524 (patch)
tree8d45e329bd2caf85333e568534395524a5c2ae2c /pkgs/development/python-modules/python-sql
parent0601cf6fd0868b31429d3e1c90781fbba8b2b0c2 (diff)
ci/github-script/prepare: identify real base branch
When a contributor mistakenly sets the wrong target branch for a Pull Request, this can lead to bad consequences for CI. Most prominent is the mass ping of codeowners, that is already handled in `ci/request-reviews/verify-base-branch.sh`. But there are other things that go wrong: - After eval, a mass ping of maintainers would still be possible, in theory. Practically, this doesn't happen, because we have a limit of 10 reviewer requests at the same time. - This will most often contain a change to `ci/pinned.json`, thus the full Eval matrix of all Lix/Nix versions will be run, burning a lot of resources. - The PR will be labelled with almost all labels that are available. We can improve on the current situation with some API calls to determine the "best" merge-base for the current PR. We then consider this as the "real base". If the current target is not the real base, we fail the prepare step, which is early enough to prevent all other CI from running.
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions