Skip to content

Commit 626d620

Browse files
authored
Merge pull request #1852 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2 parents 5605e2a + 99deb57 commit 626d620

2 files changed

Lines changed: 21 additions & 6 deletions

File tree

.github/workflows/govulncheck.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: govulncheck
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- master
9+
schedule:
10+
- cron: '33 2 * * *'
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
govulncheck:
17+
runs-on: ubuntu-latest
18+
name: Run govulncheck
19+
steps:
20+
- id: govulncheck
21+
uses: golang/govulncheck-action@31f7c5463448f83528bd771c2d978d940080c9fd # v1.0.4-unreleased

Makefile.common

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,3 @@ $(1)_precheck:
425425
exit 1; \
426426
fi
427427
endef
428-
429-
govulncheck: install-govulncheck
430-
govulncheck ./...
431-
432-
install-govulncheck:
433-
command -v govulncheck > /dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest

0 commit comments

Comments
 (0)