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

ci(buildkite): run builds on PRs opened from forks as well #213

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

thazhemadam
Copy link
Member

Previously, the buildkite jobs wouldn't launch for PRs that were opened on forks, because the smooth-checkout plugin would not be able to find a valid refspec1. This fixes this up for the most general cases, i.e., when a build is kicked off because a PR is opened or more commits are added on to the PR, and is not expected to work when builds are explicitly triggered (through the Web UI) for the HEAD commit.

Footnotes

  1. https://buildkite.com/julialang/scimldocs/builds/3324#018cb654-71a9-4ce3-9af3-d7e21d044397/101-119

Previously, the buildkite jobs wouldn't launch for PRs that were opened
on forks, because the `smooth-checkout` plugin would not be able to find
a valid refspec[^1]. This fixes this up for the most general cases, i.e.,
when a build is kicked off because a PR is opened or more commits are
added on to the PR, and is not expected to work when builds are
explicitly triggered (through the Web UI) for the `HEAD` commit.

[^1]: https://buildkite.com/julialang/scimldocs/builds/3324#018cb654-71a9-4ce3-9af3-d7e21d044397/101-119
@thazhemadam thazhemadam linked an issue Jan 30, 2024 that may be closed by this pull request
@thazhemadam thazhemadam merged commit 92c1e63 into SciML:main Jan 30, 2024
1 of 2 checks passed
@thazhemadam thazhemadam deleted the at/docs-builds-fix branch January 30, 2024 09:59
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.

Builds from PRs opened from forks are not running
2 participants