mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Allow reversed words to skip changelog [skip ci] (#2021)
[Travis][] allows both "<KEYWORD> skip" and "skip <KEYWORD>", as does [Circleci][]. I never remember which order the words should go in, so it is a nice convenience if either order works. [Travis]: https://docs.travis-ci.com/user/customizing-the-build/#skipping-a-build [Circleci]: https://circleci.com/docs/2.0/skip-build/#skipping-a-build
This commit is contained in:
parent
2f9d84e8c9
commit
dd781669d7
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check_changelog.yml
vendored
2
.github/workflows/check_changelog.yml
vendored
|
@ -10,4 +10,4 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Check that CHANGELOG is touched or PR is [ci skip]-d
|
||||
run: |
|
||||
cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '\[\(\(changelog skip\)\|\(ci skip\)\)\]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep History.md
|
||||
cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '\[\(\(changelog skip\)\|\(skip changelog\)\|\(ci skip\)\|\(skip ci\)\)\]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep History.md
|
||||
|
|
Loading…
Add table
Reference in a new issue