Skip to content

Commit

Permalink
run CI on push to ALL branches too (but only actually run if this i…
Browse files Browse the repository at this point in the history
…s a pull_request from a fork OR push to an internal branch)
  • Loading branch information
twrichards authored Jan 19, 2024
1 parent d5886a2 commit dc15d70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ on:
workflow_dispatch: # Manual invocation.
pull_request:
push:
branches:
- main
- 'pr**'
jobs:
CI:
# only actually run if this is a pull_request from a fork OR push to an internal branch
if: github.event.pull_request.head.repo.fork || github.event_name != 'pull_request'
runs-on: ubuntu-latest
permissions:
# required by aws-actions/configure-aws-credentials
Expand Down

0 comments on commit dc15d70

Please sign in to comment.