Skip to content

Commit

Permalink
Setup permissions for GH workflows (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
sequba authored Feb 4, 2025
1 parent 14ae706 commit fc0c1b5
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Security
permissions:
contents: read

on:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Build docs
permissions:
contents: read

on:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Build on various envs
permissions:
contents: read

on:
pull_request:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: "CodeQL"
permissions:
contents: read
pull-requests: write

on:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Lint
permissions:
contents: read

on:
pull_request:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Performance
permissions:
contents: read
pull-requests: write

on:
pull_request:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Publish
permissions:
contents: read
pages: write

on:
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Test
permissions:
contents: read

on:
pull_request:
Expand Down

0 comments on commit fc0c1b5

Please sign in to comment.