Skip to content

Commit 30f51d2

Browse files
authored
ci: fix zizmor findings (#47)
1 parent 7b36d92 commit 30f51d2

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

.github/dependabot.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "gomod"
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
- package-ecosystem: "github-actions"
8-
directory: "/"
9-
schedule:
10-
interval: daily
11-
- package-ecosystem: "devcontainers"
12-
directory: "/"
13-
schedule:
14-
interval: weekly
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
cooldown:
8+
default-days: 7
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: daily
13+
cooldown:
14+
default-days: 7
15+
- package-ecosystem: "devcontainers"
16+
directory: "/"
17+
schedule:
18+
interval: weekly
19+
cooldown:
20+
default-days: 7

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
with:
18+
persist-credentials: false
1719
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
1820
with:
1921
go-version: stable

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
fetch-depth: 0
18+
persist-credentials: false
1819
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
1920
with:
2021
go-version: stable
22+
cache: false
2123
- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
2224
with:
2325
distribution: goreleaser

0 commit comments

Comments
 (0)