跳转到内容

如何避免触发工作流

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. GitHub Actions 现在通过在提交消息中查找一些常见关键字来支持跳过 push 和 pull_request 工作流。

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. 如果推送或 PR 的 HEAD 提交中的任何提交消息包含字符串 [skip ci] 、 [ci skip] 、 [no ci] 、 [skip actions] 或 [actions skip] 触发的 push 或 pull_request 事件的工作流将被跳过。