Skip to content

Commit 9634c9a

Browse files
authored
ci: add govulncheck job (#903)
Run govulncheck against hcloud-go on schedule, before releasing a new version, or when updating the job definition.
1 parent b3195c9 commit 9634c9a

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/govulncheck.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: govulncheck
3+
4+
on:
5+
pull_request:
6+
paths:
7+
- .github/workflows/govulncheck.yml
8+
- hcloud/internal/version/version.go
9+
push:
10+
branches:
11+
- main
12+
schedule:
13+
- cron: "33 11 * * *"
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
govulncheck:
20+
runs-on: ubuntu-latest
21+
22+
name: Run govulncheck
23+
24+
steps:
25+
- uses: golang/govulncheck-action@032d45514ae346b1db93c04b0c90b841c370344f # v1.1.0
26+
with:
27+
go-version-file: go.mod

0 commit comments

Comments
 (0)