Skip to content

Commit 98830ab

Browse files
authored
Merge pull request #219 from jplock/jp-wf-perms
[fix] add GHA permissions
2 parents 36bf956 + cebeceb commit 98830ab

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/docker-bake.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: docker bake
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: rust tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/secure_workflows.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
name: Harden Security
2727
if: github.repository_owner == 'aws-samples'
2828
runs-on: ubuntu-latest
29-
permissions:
30-
contents: read # checkout code and subsequently GitHub action workflows
3129
steps:
3230
- name: Checkout code
3331
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)