Skip to content

Commit

Permalink
ci(workflows): add permissions (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref authored Feb 9, 2024
1 parent dbfeab2 commit 8a58080
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
schedule:
- cron: '0 13 * * 5'

permissions:
contents: read
actions: read
security-events: write

jobs:
CodeQL-Build:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ name: Release
- next
- beta
- "*.x"

permissions:
contents: read

jobs:
release:
name: release
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ name: Test
types:
- opened
- synchronize

permissions:
contents: read

jobs:
test_matrix:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update-prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Update Prettier
push:
branches:
- renovate/prettier-*

permissions:
contents: read

jobs:
update_prettier:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a58080

Please sign in to comment.