Skip to content

Commit 9cf5a0c

Browse files
Fix issues shown under 'Code scanning'
1 parent 252caf8 commit 9cf5a0c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
types:
99
- published
1010

11+
permissions:
12+
contents: read
13+
1114
concurrency:
1215
group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}
1316
cancel-in-progress: true

.github/workflows/gh-ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
# (from https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)
1313
- cron: "0 0 * * 0"
1414

15+
permissions:
16+
contents: read
17+
pull-requests: write
18+
1519
concurrency:
1620
# Specific group naming so CI is only cancelled
1721
# within same PR or on merge to main

0 commit comments

Comments
 (0)