chore: repo sync (#2422)

Co-authored-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
This commit is contained in:
Julien
2026-06-17 10:31:21 +02:00
committed by GitHub
parent be8eedf5a7
commit ad57dce356
2 changed files with 27 additions and 1 deletions

26
.github/workflows/govulncheck.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
---
name: govulncheck
on:
pull_request:
paths:
- VERSION
- .github/workflows/govulncheck.yml
push:
branches:
- main
- master
schedule:
- cron: '33 2 * * *'
permissions:
contents: read
jobs:
govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@3fa7bd9cee2cfdf3499a8803b226e43de7b7cdb4 # master
env:
GOOS: ${{ contains(github.repository, 'windows_exporter') && 'windows' || '' }}

View File

@@ -11,7 +11,7 @@ jobs:
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
runs-on: ubuntu-latest
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# opt out of defaults to avoid marking issues as stale and closing them