Skip to content

Commit 914acdb

Browse files
authored
Merge pull request #532 from legrego/alert-autofix-8
Potential fix for code scanning alert no. 8: Workflow does not contain permissions
2 parents b9d3f85 + ed2a58e commit 914acdb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/combined.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "Validate and Test"
2+
permissions:
3+
contents: read
24
on:
35
workflow_dispatch:
46
jobs:

.github/workflows/coverage-comment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
name: Comment coverage report on the pull request
3+
permissions:
4+
contents: read
5+
pull-requests: write
36
on:
47
workflow_run:
58
workflows: ["Pull actions"]

.github/workflows/cron.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Build
2+
permissions:
3+
contents: read
24

35
on:
46
workflow_dispatch:

0 commit comments

Comments
 (0)