Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 175ac46

Browse files
committed
♻️ chore: add permissions to CI and code quality workflows
1 parent 32a8962 commit 175ac46

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ main, develop ]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
strategy:

.github/workflows/code-quality.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ main, develop ]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
lint:
1114
runs-on: ubuntu-latest

.github/workflows/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
types: [opened, synchronize]
66

7+
permissions:
8+
pull-requests: write
9+
contents: write
10+
711
jobs:
812
auto-approve:
913
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)