Skip to content

Commit 2fadba9

Browse files
committed
updates
1 parent 69f5a06 commit 2fadba9

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

.github/workflows/actionlint.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
pull_request:
88
branches: [ 'main', 'release-*' ]
99

10-
jobs:
10+
permissions: {}
1111

12+
jobs:
1213
action-lint:
1314
name: Action lint
1415
runs-on: ubuntu-latest
1516

17+
permissions:
18+
contents: read # To read the repo contents
19+
1620
steps:
1721
- name: Harden Runner
1822
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
@@ -21,6 +25,8 @@ jobs:
2125

2226
- name: Check out code
2327
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
28+
with:
29+
persist-credentials: false
2430

2531
- name: Find yamls
2632
id: get_yamls

.github/workflows/ghaudit.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66

77
name: GitHub Audit
88

9-
permissions:
10-
contents: read
9+
permissions: {}
1110

1211
jobs:
1312
ghaudit:
1413
runs-on: ubuntu-latest
1514

1615
permissions:
16+
contents: read # To read the repo contents
1717
id-token: write # To federate with Octo STS
1818

1919
steps:
@@ -29,23 +29,23 @@ jobs:
2929
identity: ghaudit
3030

3131
- name: Deploy Keys
32-
uses: wolfi-dev/wolfi-act@d78f3659c50c4520e222df428f4903a1c4b0c6ee # main
32+
uses: wolfi-dev/wolfi-act@d78f3659c50c4520e222df428f4903a1c4b0c6ee # # v0.0.1
3333
env:
3434
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
3535
with:
3636
packages: ghaudit
3737
command: ghaudit org -o ${{ github.repository_owner }} deploy-keys
3838

3939
- name: Branch Protections
40-
uses: wolfi-dev/wolfi-act@d78f3659c50c4520e222df428f4903a1c4b0c6ee # main
40+
uses: wolfi-dev/wolfi-act@d78f3659c50c4520e222df428f4903a1c4b0c6ee # # v0.0.1
4141
env:
4242
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
4343
with:
4444
packages: ghaudit
4545
command: ghaudit org -o ${{ github.repository_owner }} branch-protections
4646

4747
- name: Default Permissions
48-
uses: wolfi-dev/wolfi-act@d78f3659c50c4520e222df428f4903a1c4b0c6ee # main
48+
uses: wolfi-dev/wolfi-act@d78f3659c50c4520e222df428f4903a1c4b0c6ee # v0.0.1
4949
env:
5050
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
5151
with:

0 commit comments

Comments
 (0)