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

Fix pytest during PRs #801

Merged
merged 7 commits into from
Sep 4, 2023
Merged

Fix pytest during PRs #801

merged 7 commits into from
Sep 4, 2023

Conversation

spwoodcock
Copy link
Member

Closes #797

I had to set github.head_ref instead of github.ref_name, as during PRs ref_name is set to the PR branch name (when we want the target branch).

The syntax ${{ github.head_ref || github.ref_name }} works, as head_ref is only available if a PR.

@spwoodcock spwoodcock temporarily deployed to ci/fix-pytest September 4, 2023 16:36 — with GitHub Actions Inactive
@spwoodcock spwoodcock self-assigned this Sep 4, 2023
@spwoodcock spwoodcock added enhancement New feature or request priority:critical Blocking current tasks or user workflow devops Related to deployment or configuration labels Sep 4, 2023
@spwoodcock spwoodcock temporarily deployed to test September 4, 2023 17:04 — with GitHub Actions Inactive
@spwoodcock spwoodcock temporarily deployed to test September 4, 2023 17:14 — with GitHub Actions Inactive
@spwoodcock spwoodcock merged commit 5a627fc into development Sep 4, 2023
2 checks passed
@spwoodcock spwoodcock deleted the ci/fix-pytest branch September 4, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Related to deployment or configuration enhancement New feature or request priority:critical Blocking current tasks or user workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant