Skip to content

Commit

Permalink
Run pull request workflow on merge to main
Browse files Browse the repository at this point in the history
In order for the CI cache to work during the PR pipeline, the pipeline
also needs to run during the merge to main.
  • Loading branch information
MitMaro committed Jul 21, 2024
1 parent f98ac0c commit 1144353
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Pull Request

on: [pull_request]
on:
pull_request:
# run CI/CD against main as well, to generate cache
push:
branches:
- main

jobs:
test:
Expand Down

0 comments on commit 1144353

Please sign in to comment.