prometheus/scripts
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
..
check-go-mod-version.sh Add test of Go module versions 2023-12-07 14:44:49 +01:00
compress_assets.sh build: Ignore timestamps recording in gzip metadata 2025-02-13 18:22:39 +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 ci: address golangci-lint issue with persist-credentials (#16861) 2025-07-11 11:53:32 +02:00
npm-deps.sh Update npm deps for v2.39 and fix the script called to do it (#11332) 2022-09-21 23:36: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 chore(scripts/sync_repo_files): add link to source script 2025-05-06 07:50:06 +02:00
ui_release.sh Build both old & new UI into Prometheus, allow choosing via feature flag 2024-04-18 15:08:40 +02:00