Skip to content

TST: Allow skip CI for PRs - #11129

Closed
pllim wants to merge 3 commits into
astropy:masterfrom
pllim:actions-skip-ci
Closed

pllim wants to merge 3 commits into
astropy:masterfrom
pllim:actions-skip-ci

Conversation

@pllim

@pllim pllim commented Dec 3, 2020

Copy link
Copy Markdown
Member

Description

This pull request is to address portion of #11038 to allow [skip ci] or [ci skip] in commit message in a pull request to skip the CI in Actions. When we merge the PR, presumable, we want the CI to run regardless.

Previous attempt with this incantation failed because head_commit was missing in the github.event context, but I think it silently came back? If this works, when this PR is opened, it should not run any GitHub Actions jobs. 🤞

@pllim pllim added this to the v4.2.1 milestone Dec 3, 2020
@pllim pllim mentioned this pull request Dec 3, 2020
18 tasks done
@pllim

pllim commented Dec 3, 2020

Copy link
Copy Markdown
Member Author

Yeah, nvm. It is obviously there on a push event, but not for pull_request.

@pllim pllim closed this Dec 3, 2020
@pllim
pllim deleted the actions-skip-ci branch December 3, 2020 23:17
@taldcroft

Copy link
Copy Markdown
Member

Is this being replaced with anything? I'm wanting to skip CI so I can push WIP commits without wasting energy.

@pllim

pllim commented Dec 10, 2020

Copy link
Copy Markdown
Member Author

Have a cunning plan at #11038 (comment) but awaiting consensus on how to move forward.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants