Skip to content

[Skip CI] Actions should only run one job that is expected to fail - #41

Closed
pllim wants to merge 1 commit into
kali-maa:masterfrom
pllim:kalimaa-test-skip-ci
Closed

pllim wants to merge 1 commit into
kali-maa:masterfrom
pllim:kalimaa-test-skip-ci

Conversation

@pllim

@pllim pllim commented Dec 4, 2020 •

Copy link
Copy Markdown

Description

This pull request is to test https://github.com/pllim/action-skip-ci . If it works correctly, it should only run one job to check the commit message and then fails, preventing the rest of the jobs from running.

Not as pretty as built-in [skip ci] support you see in CircleCI or Travis CI, but maybe good enough until GitHub Actions catches up?

  1. First commit skipped Actions with [ci skip].
  2. Second commit did not skip CI on purpose.
  3. Third commit should skip CI again with [actions skip].

@github-actions github-actions Bot added the Docs Improvements or additions to documentation label Dec 4, 2020
@pllim

pllim commented Dec 16, 2020

Copy link
Copy Markdown
Author

Hmm... a step to cancel CI does not block the next step to cancel older workflows?

@pllim

pllim commented Dec 17, 2020

Copy link
Copy Markdown
Author

See #43

@pllim pllim closed this Dec 17, 2020
@pllim
pllim deleted the kalimaa-test-skip-ci branch December 17, 2020 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs Improvements or additions to documentation no-changelog-entry-needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant