Skip to content

Commit

Permalink
Fix Github workflow triggers (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes authored Jan 8, 2024
1 parent 3c3516d commit ee65475
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build & test # on both PRs and push to develop/main
on:
pull_request:
branches: [develop, main]
push:
branches: [develop]

jobs:
build-and-test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
name: 'CodeQL'

on:
pull_request:
branches: [develop, main]
push:
branches: [develop, main]
schedule:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cypress-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Cypress release tests
on:
pull_request:
branches: [main]
push:
branches: [develop]

jobs:
# vercel will redeploy the develop/staging app on creating a PR to main
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lighthouse-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Lighthouse Performance
on:
pull_request:
branches: [main]
push:
branches: [develop]

jobs:
# vercel will deploy a preview branch and domain for this PR
Expand Down

0 comments on commit ee65475

Please sign in to comment.