Skip to content

CI: check dependency graph on fork PR heads - #285

Open
krystophny wants to merge 1 commit into
PrincetonUniversity:developfrom
krystophny:ci/fork-pr-deps-checkout
Open

CI: check dependency graph on fork PR heads#285
krystophny wants to merge 1 commit into
PrincetonUniversity:developfrom
krystophny:ci/fork-pr-deps-checkout

Conversation

@krystophny

Copy link
Copy Markdown
Collaborator

The deps job currently checks out github.head_ref from the base repository. On every fork PR that branch is absent, so the job fails before generating the dependency graph even when all compiler jobs pass.

Check out the event's actual head repository and immutable SHA. workflow_dispatch retains the current-repository/current-SHA fallback. The existing push block already treats inability to push a regenerated file to a fork as a warning, as documented in the workflow comment.

This is intentionally separate from #284, which changes only two PENTRC spline boundary conditions and otherwise passes all GNU/Intel build jobs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants