Skip to content

Document how to skip CI in the contributing guides #908

Closed

Description

@seisman

https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/

GitHub Actions now supports skipping push and pull_request workflows by looking for some common keywords in your commit message.

If any commit message in your push or the HEAD commit of your PR contains the strings [skip ci], [ci skip], [no ci], [skip actions], or [actions skip] workflows triggered on the push or pull_request events will be skipped.

Finally, GitHub support skipping workflows to save CI resources! Will try how it looks like in next pushes/PRs. If it works well, we should document it in the contributing guides at CONTRIBUTING.md, and even in the Pull Request template.

Activity

  1. weiji14 commented on Feb 16, 2021

    @weiji14
    Member

    Actually, do you want to just document this in MAINTENANCE.md at the current PR #906?

  2. seisman commented on Feb 16, 2021

    @seisman
    MemberAuthor

    Better to do one simple thing in one PR.

  3. added
    good first issue
    help wanted
    on Feb 16, 2021
  4. added this to the 0.3.1 milestone on Feb 16, 2021
  5. seisman commented on Feb 21, 2021

    @seisman
    MemberAuthor

    One note: when we merge a PR, we should be cautious that the merge message (default to be a list of commit messages in this branch) can't contain [ci skip], otherwise the merged commit won't trigger CI jobs when merged into master branch.

  6. modified the milestones: 0.3.1, 0.4.0 on Mar 9, 2021
  7. removed
    good first issue
    on Mar 22, 2021
  8. weiji14 commented on May 1, 2021

    @weiji14
    Member

    Just checking, do you think it's really necessary to document this in our guide (since it's getting quite long)? Or can we just point it out to people (on a need to know basis) and close this issue?

  9. seisman commented on May 1, 2021

    @seisman
    MemberAuthor

    OK with closing the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions