Julien
55226fb8b2
Merge pull request #18802 from roidelapluie/roidelapluie/reposync-per-org-token
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
chore(reposync): use per-org PATs for repo sync PR creation
2026-05-27 16:35:47 +02:00
Julien
f83961b78e
Merge pull request #18800 from roidelapluie/roidelapluie/reposynclicense
...
scripts: fix LICENSE check using stale target_file in sync_repo_files
2026-05-27 15:32:25 +02:00
Julien Pivotto
b67d15347a
ci: use per-org PATs for repo sync PR creation
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 15:23:08 +02:00
Julien
e22a55b241
Merge pull request #18801 from roidelapluie/roidelapluie/syncfail
...
chore(reposync): Debug failures.
2026-05-27 14:27:57 +02:00
Julien Pivotto
ae068a8898
chore(reposync): Debug failures.
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 14:24:10 +02:00
Julien Pivotto
20bc5a2f99
scripts: fix LICENSE check using stale target_file in sync_repo_files
...
The check_license guard ran before target_file was fetched, so it always
tested the previous iteration's file content (CODE_OF_CONDUCT.md) instead
of the target repo's LICENSE. This caused the LICENSE file to be silently
skipped on every run regardless of the actual license.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 10:18:44 +02:00
Julien Pivotto
7657baa6c3
scripts: fork without organization in sync_repo_files
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-27 09:59:05 +02:00
Julien Pivotto
0b47509663
chore(reposync): use fork actual name and new API version in sync_repo_files
...
Read the fork's actual full_name from the fork API response instead of
constructing it. Pass the fork full_name to post_pull_request so the checkout
hint uses the correct repo name.
Use newly-created scoped PROMBOT_REPOSYNC_TOKEN in the workflow.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-26 17:00:13 +02:00
Julien Pivotto
c2386b2da5
scripts: add checkout hint to sync_repo_files PR body
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-26 12:28:29 +02:00
Julien Pivotto
4d28ed112b
scripts: sync_repo_files via prombot fork
...
Open the sync PRs from a prombot-owned fork instead of pushing the branch
to the upstream repo. The fork name is prefixed with the upstream org
(e.g. prometheus_node_exporter) so repos with the same name in
different orgs do not collide. The GitHub forks API is idempotent and
returns the existing fork on subsequent calls.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-26 11:52:38 +02:00
Bartlomiej Plotka
2a146bce7f
Revert "chore: prepare 3.12.0-rc.0 release"
2026-05-19 08:40:18 +01:00
bwplotka
bc598efafc
improve generate_release_notes to skip author for consistency
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-05-18 12:14:36 +01:00
Julien Pivotto
64e465dddc
chore: Update NPM deps for 3.12
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-08 13:59:50 +02:00
Ben Kochie
7475a07d82
Enable govulncheck in CI ( #18553 )
...
Add a CI job to run govulncheck.
* Run daily.
* Run when touching go.{mod,sum}.on PRs and merge to the default branch.
* Cleanup unused / broken govulncheck in Makefile.common.
* Add status badge.
* Add to repo sync for all Go projects.
* Reduce green lines in sync script to make it easier to read the log.
Signed-off-by: SuperQ <superq@gmail.com>
2026-04-22 09:14:54 +02:00
Ben Kochie
b81f79b47f
Bump actions/setup-go ( #18504 )
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Update actions/setup-go to the latest release.
Signed-off-by: SuperQ <superq@gmail.com>
2026-04-10 09:06:09 +02:00
Ben Kochie
c30b596c1f
Fix dockerignore sync ( #18488 )
...
Add `.dockerignore` to the always sync file list.
* Sort container archs.
Signed-off-by: SuperQ <superq@gmail.com>
2026-04-10 07:19:58 +02:00
SuperQ
f186cfdad1
Update common container archs
...
Promote the Prometheus container archs settings to common so they
are used by default on other projects.
* Add `.dockerignore` to sync script to include docker archs.
Signed-off-by: SuperQ <superq@gmail.com>
2026-04-08 15:25:07 +02:00
machine424
31f0678cdf
release: automate CHANGELOG.md generation and improve release notes process
...
Adds `scripts/generate_release_notes.sh` to produce a structured CHANGELOG.md starting point using the Kubernetes release-notes tool. It handles both minor and patch releases.
`RELEASE.md` is updated to reference the script and drop the manual instructions.
Version examples are updated from 2.x to 3.x.
The `check_release_notes` CI workflow is extended to also run on `release-*` branches in order for the script to catch commits added to the release note , and the PR template wording is tightened.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2026-03-25 20:20:35 +01:00
Ben Kochie
8f1f1f3146
Update CI ( #18173 )
...
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Push README to Docker Hub / Push README to Docker Hub (push) Has been cancelled
Push README to Docker Hub / Push README to quay.io (push) Has been cancelled
* Bump promu to latest release.
* Update actions/checkout.
* Update Go to 1.26.x for golangci-lint in synced repos.
* Improve golangci-lint push filter for synced repos.
Signed-off-by: SuperQ <superq@gmail.com>
2026-02-23 15:25:09 +01:00
Julien Pivotto
3f25a53e20
chore: Check that previous go version check actually uses previous go version
...
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-02-11 16:05:50 +01:00
SuperQ
d8e9ed3246
Add CI check for Go version support
...
Fail Go mod check if the `go` directive in `go.mod` is newer than
the currently supported Go versions.
Signed-off-by: SuperQ <superq@gmail.com>
2026-02-11 13:36:27 +01:00
renovate[bot]
edb6731d92
chore(deps): update actions/setup-go action to v6.2.0 ( #18055 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 09:13:35 +01:00
Julien Pivotto
9a56fecb75
scripts: use git ls-files and check go.work files in version check
...
Update check-go-mod-version.sh to use git ls-files instead of find for
better performance and to respect .gitignore. Also include go.work files
in the version check to ensure consistency across workspace files and
modules.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-01-09 17:52:38 +01:00
dependabot[bot]
79b0b86560
chore(deps): bump golangci/golangci-lint-action in /scripts ( #17759 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 9.0.0 to 9.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](0a35821d5c...1e7e51e771 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 9.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-04 14:53:47 +00:00
dependabot[bot]
b34e3410f3
chore(deps): bump golangci/golangci-lint-action in /scripts ( #17574 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](4afd733a84...0a35821d5c )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 9.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:31:32 +01:00
dependabot[bot]
3698cd044c
chore(deps): bump actions/setup-go from 6.0.0 to 6.1.0 in /scripts ( #17573 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4469467582...4dc6199c7b )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:30:58 +01:00
dependabot[bot]
a5811e2da9
chore(deps): bump actions/checkout from 4.2.2 to 5.0.1 in /scripts ( #17572 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.2 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](11bd71901b...93cb6efe18 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-21 09:29:37 +01:00
SuperQ
4bee2c754e
Improve repo sync script logging
...
Improve the repo sync logging output and add some additional logging.
This should help debugging some failed updates.
Signed-off-by: SuperQ <superq@gmail.com>
2025-11-18 11:18:02 +01:00
dependabot[bot]
77225a6aca
chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 in /scripts ( #17262 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](d35c59abb0...4469467582 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 10:27:57 +02:00
Ayoub Mrini
7416f33df5
chore: define golangci-lint version in a single place and bump to v2.4.0 ( #17202 )
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-09-17 10:52:09 +02:00
Duciwuci
070ffd7edb
bump go version across all stages
...
Signed-off-by: Duciwuci <duciwuci@gmail.com>
2025-09-02 10:02:39 +02:00
Duciwuci
739791a285
update script for internal and web
...
Signed-off-by: Duciwuci <duciwuci@gmail.com>
2025-09-02 10:02:01 +02:00
Ayoub Mrini
2cbeef6d95
Merge pull request #17090 from machine424/bump_go
...
chore: add a "make bump-go-version" to handle Go bumps across all files
2025-09-01 13:05:29 +02:00
Ayoub Mrini
dd6ad8ec4c
feat: add a way to pass release notes from the PR ( #16904 )
...
* feat: add a way to add release notes from the PR
make the release note block part of .github/PULL_REQUEST_TEMPLATE.md (inspired from k8s')
A CI check would check the input.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
* imp
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
* suggestions
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
---------
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-08-13 15:34:36 +02:00
Ayoub Mrini
0f0cd5c2cf
chore: add Makefile target to check Node.js version ( #16832 )
...
This helps reduce confusion when UI-related targets fail without
directly indicating a version mismatch.
Automatically runs during UI builds and tests. The check is only
indicative.
The "go" binary can hard stop and print relevant messages on its
own for mismatches, thus not covered here.
supersedes https://github.com/prometheus/prometheus/pull/15106
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
Co-authored-by: Pratham <prathamjagga123@gmail.com>
2025-07-15 12:52:43 +02:00
dependabot[bot]
83b4cfdf5e
chore(deps): bump golangci/golangci-lint-action in /scripts ( #16679 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](1481404843...4afd733a84 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-11 11:54:27 +02:00
github-actions[bot]
ce74e3918f
Merge pull request #16680 from prometheus/dependabot/github_actions/scripts/actions/setup-go-5.5.0
...
chore(deps): bump actions/setup-go from 5.4.0 to 5.5.0 in /scripts
2025-07-11 11:53:54 +02:00
Cristian Greco
3a5db2d442
ci: address golangci-lint issue with persist-credentials ( #16861 )
...
* ci: address golangci-lint issue with persist-credentials
Fixes the following zizmor warning:
```
warning[artipacked]: credential persistence through GitHub Actions artifacts
--> scripts/golangci-lint.yml:26:9
|
26 | - name: Checkout repository
| _________-
27 | | uses: actions/checkout@11bd71901b # v4.2.2
28 | | # with:
29 | | # persist-credentials: false
| |______________________________________- does not set persist-credentials: false
```
All other actions have been fixed in https://github.com/prometheus/prometheus/pull/16530
Credit to @jharvey10 who also addressed this particular issue in
a5bf67d897
Signed-off-by: Cristian Greco <cristian@regolo.cc>
* update golangci-lint to v2.2.1
Signed-off-by: Cristian Greco <cristian@regolo.cc>
---------
Signed-off-by: Cristian Greco <cristian@regolo.cc>
2025-07-11 11:53:32 +02:00
dependabot[bot]
089119a03c
chore(deps): bump actions/setup-go from 5.4.0 to 5.5.0 in /scripts
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0aaccfd150...d35c59abb0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 00:17:37 +00:00
machine424
b59b76639f
chore(scripts/sync_repo_files): add link to source script
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2025-05-06 07:50:06 +02:00
Matthieu MOREL
9d7a37ae18
Bump golangci-lint to v2.1.5 ( #16545 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-05-04 11:17:22 +02:00
Matthieu MOREL
08aa5e3f97
ci: update golangci-lint to v2.0.2 and adjust configuration ( #16356 )
...
* ci: update golangci-lint to v2.0.2 and adjust configuration
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2025-04-02 13:05:30 +02:00
dependabot[bot]
61dce4c750
chore(deps): bump actions/setup-go from 5.3.0 to 5.4.0 in /scripts
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](f111f3307d...0aaccfd150 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 09:56:11 +00:00
github-actions[bot]
f8caa6f5df
Merge pull request #16265 from prometheus/dependabot/github_actions/scripts/golangci/golangci-lint-action-6.5.2
...
chore(deps): bump golangci/golangci-lint-action from 6.5.0 to 6.5.2 in /scripts
2025-03-22 17:50:03 +01:00
Matthieu MOREL
5fa1146e21
chore: enable gci linter ( #16245 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-03-22 15:46:13 +00:00
dependabot[bot]
027f7b26a1
chore(deps): bump golangci/golangci-lint-action in /scripts
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.5.0 to 6.5.2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](2226d7cb06...55c2c1448f )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 13:04:23 +00:00
Matthieu MOREL
93e991ef7e
feat(proto): add buf configuration and update dependencies for code generation ( #16239 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-03-19 22:19:08 +01:00
Matthieu MOREL
aea48f912f
chore(deps): bump github.com/grpc-ecosystem/grpc-gateway to v2 ( #16236 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-03-19 16:27:25 +01:00
dependabot[bot]
58f92fd83b
chore(deps): bump golangci/golangci-lint-action in /scripts
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.2.0 to 6.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](ec5d18412c...2226d7cb06 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-07 10:33:25 +00:00
Arve Knudsen
56929ffa42
Upgrade to Go v1.24 ( #16180 )
...
* Upgrade to Go v1.24
* Upgrade golangci-lint
---------
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2025-03-07 11:28:26 +01:00