Skip to content

Commit

Permalink
update ci to use write permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 committed Nov 20, 2023
1 parent 9499e9e commit a0a9c9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
check-before-build:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/build_test')
if: github.repository_owner == 'cryostatio' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/build_test')

permissions:
pull-requests: write
Expand Down Expand Up @@ -185,4 +185,3 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}


0 comments on commit a0a9c9d

Please sign in to comment.