Skip to content

Commit a956034

Browse files
committed
chore(vuln): scope workflow permissions to least privilege (SEC-167)
πŸ”’ Scanned for secrets using gitleaks 8.30.1
1 parent 179e53a commit a956034

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

β€Ž.github/workflows/build-and-quality-checks.ymlβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ 'master', 'develop' ]
66
types: [ 'opened', 'reopened', 'synchronize' ]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
unit_test_and_build:
1013
runs-on: ubuntu-latest

β€Ž.github/workflows/check-pr-title.ymlβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches: [ 'master', 'develop' ]
55
types: [ 'opened', 'reopened', 'edited', 'synchronize' ]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check_pr_title:
912
name: Check PR title

0 commit comments

Comments
Β (0)