prometheus/scripts
Julien Pivotto 5626eed5b4
ci: force-update stale repo-sync PRs when content changes
When a repo_sync PR is already open, the sync script skipped the repo
entirely, so the PR went stale whenever the source files changed again.

Now, if the open PR carries only the single bot commit, the branch is
rebuilt from the target default branch (staying current with the base)
and force-pushed, but only when the synced files actually differ from
the PR branch. PRs that a maintainer has committed to (more than one
commit) are left untouched.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-07-02 15:13:41 +02:00
..
bump_go_version.sh update script for internal and web 2025-09-02 10:02:01 +02:00
check-go-mod-version.sh chore: Check that previous go version check actually uses previous go version 2026-02-11 16:05:50 +01:00
check-node-version.sh chore: add Makefile target to check Node.js version (#16832) 2025-07-15 12:52:43 +02:00
check_release_notes.sh feat: add a way to pass release notes from the PR (#16904) 2025-08-13 15:34:36 +02:00
compress_assets.sh build: Ignore timestamps recording in gzip metadata 2025-02-13 18:22:39 +01:00
dependabot.yml Sync dependabot configs (#19051) 2026-07-01 14:50:26 +02:00
generate_release_notes.sh Revert "chore: prepare 3.12.0-rc.0 release" 2026-05-19 08:40:18 +01:00
genproto.sh chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
get_module_version.sh add scripts/get_module_version.sh 2024-08-16 14:23:27 +02:00
golangci-lint.yml chore(deps): update golangci/golangci-lint-action action to v9.3.0 (#19064) 2026-07-01 15:24:13 +02:00
npm-deps.sh chore(UI): Move to pnpm 2026-06-11 14:13:28 +02:00
package_assets.sh Publish UI release artefact in our github releases (#10577) 2022-04-12 19:23:02 +02:00
sync_repo_files.sh ci: force-update stale repo-sync PRs when content changes 2026-07-02 15:13:41 +02:00
ui_release.sh ui: do not tag pre-release npm packages as latest 2026-06-23 10:28:21 +02:00