Skip to content

Commit 2519776

Browse files
authored
Merge pull request #177 from adrianreber/2025-12-10-codeql
workflows: add explicit permissions to fix CodeQL warnings
2 parents 1d6f6e4 + 0505009 commit 2519776

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/check-size.yml

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

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check_size:
912
runs-on: ubuntu-latest

.github/workflows/coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Run coverage
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
coverage:
710
runs-on: ubuntu-latest

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Run Tests
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
test:
710
runs-on: ubuntu-latest

.github/workflows/verify.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: verify
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
lint:
710
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)