Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run build-and-test workflow on all PRs to master #851

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

mcintyre94
Copy link
Collaborator

Some PRs have run the build-and-test job (eg #849 + #841), but some haven't (eg #840 + #838)

I'm unsure why this happens, but one guess is the missing branches: [master] on the pull_request trigger.

This matches the trigger in eg web3js: https://github.com/solana-labs/solana-web3.js/blob/fdc85b98edc4bd7a74c5bd10128d5397bce368a7/.github/workflows/pull-requests.yml#L3-L5

The github docs also only seem to give examples that include a filter, eg https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpull_requestpull_request_targetbranchesbranches-ignore

I'm hoping this will make all PRs run the build-and-test workflow!

@jordaaash jordaaash merged commit 6ed43c0 into master Dec 4, 2023
4 checks passed
@jordaaash jordaaash deleted the cm-ci-pr branch December 4, 2023 19:15
@jordaaash
Copy link
Collaborator

Good call!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants