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

GH Actions: improve auto-cancelling of outdated builds #579

Merged
merged 1 commit into from Oct 18, 2021

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 17, 2021

Follow up to #575.

Looks like the github.head_ref key only contains a value when the workflow is run on a pull requests. github.ref should always contain the branch name, independently of whether the workflow is run on a pull request or push.

Follow up to 575.

Looks like the `github.head_ref` key only contains a value when the workflow is run on a pull requests. `github.ref` should always contain the branch name, independently of whether the workflow is run on a pull request or push.
@jrfnl jrfnl added this to the 2.0.0 milestone Oct 17, 2021
@jrfnl jrfnl requested a review from schlessera Oct 17, 2021
@schlessera schlessera merged commit caced6f into develop Oct 18, 2021
27 checks passed
@schlessera schlessera deleted the feature/ghactions-tweak branch Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants