Skip to content

Commit 569b0d0

Browse files
authored
chore(ci): pinact run (#1053)
* chore(ci): pinact run * ci: increase dependabot to weekly * ci: prevent duplicate ci workflow
1 parent aad557d commit 569b0d0

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.github/dependabot.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ updates:
88
- package-ecosystem: github-actions
99
directory: /
1010
schedule:
11-
interval: monthly
11+
interval: weekly
1212
- package-ecosystem: gomod
1313
directory: /scripts
1414
schedule:
15-
interval: monthly
15+
interval: weekly

.github/workflows/check-with-upstream.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
name: Check if KSM selectors are present on applicable metrics.
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1212
with:
1313
persist-credentials: false
1414
- run: make --always-make check-selectors-ksm

.github/workflows/ci.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: ci
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- main
6+
pull_request:
57
jobs:
68
matrix:
79
runs-on: ubuntu-latest
@@ -30,10 +32,10 @@ jobs:
3032
run: make --always-make test
3133

3234
steps:
33-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3436
with:
3537
persist-credentials: false
36-
- uses: actions/setup-go@v5
38+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
3739
with:
3840
go-version-file: scripts/go.mod
3941
cache-dependency-path: scripts/go.sum

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Create release on kubernetes-mixin
17-
uses: softprops/action-gh-release@v2
17+
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
with:

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
stale:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/stale@v9
13+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1414
with:
1515
days-before-stale: 30
1616
days-before-close: 7

0 commit comments

Comments
 (0)