Skip to content

Commit 46dacb8

Browse files
committed
disable gomod in dependabot, add govulncheck workflow
1 parent e1300da commit 46dacb8

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
version: 2
55
updates:
6-
- package-ecosystem: "gomod"
7-
directory: "/" # Location of package manifests
8-
schedule:
9-
interval: "weekly"
10-
day: "sunday"
11-
time: "16:00"
126
- package-ecosystem: "docker"
137
directories:
148
- "/"
@@ -24,4 +18,4 @@ updates:
2418
time: "16:00"
2519
groups:
2620
all-actions:
27-
patterns: [ "*" ]
21+
patterns: ["*"]

.github/workflows/govulncheck.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
schedule:
3+
# Mondays & Thursdays at 07:00.
4+
- cron: "0 7 * * 1,4"
5+
timezone: "Europe/Amsterdam"
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
govulncheck:
15+
runs-on: ubuntu-latest
16+
name: Run govulncheck
17+
strategy:
18+
matrix:
19+
go:
20+
- "1.25"
21+
- "1.26"
22+
steps:
23+
- id: govulncheck
24+
uses: golang/govulncheck-action@v1
25+
with:
26+
go-version-input: ${{ matrix.go }}

0 commit comments

Comments
 (0)