Skip to content

Commit

Permalink
Merge pull request #855 from pankona/disable-deploy-non-pankona
Browse files Browse the repository at this point in the history
Skip deploying when the actor is not author
  • Loading branch information
kachick committed Jun 20, 2023
2 parents f864252 + f51e00e commit acca26d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/firebase-hosting-merge.yml
Expand Up @@ -14,6 +14,7 @@ defaults:

jobs:
build_and_deploy:
if: github.triggering_actor == 'pankona'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Expand Up @@ -16,7 +16,7 @@ defaults:

jobs:
build_and_preview:
if: contains(github.event.pull_request.labels.*.name, 'ok to test')
if: contains(github.event.pull_request.labels.*.name, 'ok to test') && (github.triggering_actor == 'pankona')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit acca26d

Please sign in to comment.