Skip to content

Commit

Permalink
GitHub Actions: limit permissions of GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekkow committed Apr 27, 2023
1 parent fe16b80 commit b1c0c9d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

name: Release

permissions: {}

jobs:
build:
name: Build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:

name: Test

permissions: {}

jobs:
build:
name: Build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ on:

name: Update dependencies

permissions: {}

jobs:
update:
name: Update dependencies
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- id: checkout
name: Checkout code
Expand Down

0 comments on commit b1c0c9d

Please sign in to comment.