Skip to content

Commit

Permalink
check owner
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Aug 30, 2023
1 parent eb95a23 commit 06d3970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
check-before-build:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/build_image')
if: github.repository_owner == 'cryostatio' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/build_image')
steps:
- name: Fail if needs-triage label applied
if: ${{ contains(github.event.issue.labels.*.name, 'needs-triage') }}
Expand Down

0 comments on commit 06d3970

Please sign in to comment.