Skip to content

Commit ff44d94

Browse files
chore: Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#40)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e38f273 commit ff44d94

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/dependency-review-caller.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Dependency Review (self)
33
on:
44
pull_request:
55

6+
permissions:
7+
contents: read
8+
packages: read
9+
610
jobs:
711
dependency-review:
812
uses: ./.github/workflows/dependency-review.yml

.github/workflows/pr-title-caller.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: PR Title Check (self)
33
on:
44
pull_request:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
pr-title:
811
uses: ./.github/workflows/pr-title.yml

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
packages: read
11+
812
jobs:
913
release:
1014
uses: ./.github/workflows/semantic-release.yml

0 commit comments

Comments
 (0)