Skip to content

Commit

Permalink
ci: Constrain action permissions (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Nov 17, 2023
1 parent 331c506 commit f6988eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
workflow_dispatch:
jobs:
presubmit:
permissions:
issues: write
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
tags: ['v*.*.*']
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit f6988eb

Please sign in to comment.