Skip to content

Commit d55f508

Browse files
committed
Git. Added permissions to github actions where missing
1 parent f56316c commit d55f508

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/blueprints-unit-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
blueprints-cdk-tests:
1010
name: Run CDK tests for all blueprints
1111
runs-on: ubuntu-latest
12+
permissions:
13+
actions: read
14+
contents: read
1215
defaults:
1316
run:
1417
shell: bash

.github/workflows/website-deploy.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
deploy:
1212
name: Deploy to GitHub Pages
1313
runs-on: ubuntu-latest
14+
permissions:
15+
pages: write
16+
# only required for workflows in private repositories
17+
actions: read
18+
contents: read
1419
defaults:
1520
run:
1621
shell: bash

.github/workflows/website-test-deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
test-deploy:
1010
name: Test deployment
1111
runs-on: ubuntu-latest
12+
permissions:
13+
actions: read
14+
contents: read
1215
defaults:
1316
run:
1417
shell: bash

0 commit comments

Comments
 (0)