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

WIP: Skip CI jobs if "[skip ci]" is in the commit message #534

Closed
wants to merge 1 commit into from

Conversation

seisman
Copy link
Member

@seisman seisman commented Jul 18, 2020

Description of proposed changes

We don't run CI jobs for some tiny changes (e.g., typos). Like other CI services, if the commit message contains [skip ci], then the CI jobs (testing) should be skipped.

The solution comes from https://github.saobby.my.eu.orgmunity/t/github-actions-does-not-respect-skip-ci/17325.

The solution above doesn't work. Currently, the github action variable github doesn't contain the commit message anymore.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

@vercel vercel bot temporarily deployed to Preview July 18, 2020 02:26 Inactive
@vercel vercel bot temporarily deployed to Preview July 18, 2020 02:29 Inactive
@vercel vercel bot temporarily deployed to Preview July 18, 2020 02:31 Inactive
@vercel vercel bot temporarily deployed to Preview July 18, 2020 03:09 Inactive
We don't want to waste CI resources for some tiny changes (e.g., typos).
@seisman seisman changed the title Skip CI jobs if "[skip ci]" is in the commit message WIP: Skip CI jobs if "[skip ci]" is in the commit message Jul 18, 2020
@seisman seisman closed this Aug 20, 2020
@seisman seisman deleted the skip-ci branch August 20, 2020 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant