-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply "wokeignore:rule=master" to the word master in CHANGELOG.md.
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# yamllint disable rule:line-length | ||
# name: woke | ||
on: | ||
- pull_request | ||
jobs: | ||
woke: | ||
name: woke | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: woke | ||
uses: get-woke/woke-action@v0 | ||
with: | ||
woke-args: "-c https://raw.githubusercontent.com/nhosoi/tox-lsr/woke/src/tox_lsr/config_files/woke.yml" | ||
# Cause the check to fail on any broke rules | ||
fail-on-error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,13 +124,13 @@ Adds startmsg_regex and endmsg_regex options: | |
|
||
- Fix a bash bug in changelog_to_tag.yml, which unexpectedly expanded "*" | ||
|
||
- changelog_to_tag action - support other than "master" for the main branch name, as well | ||
- changelog_to_tag action - support other than "master" for the main branch name, as well // wokeignore:rule=master | ||
|
||
- Use GITHUB_REF_NAME as name of push branch; fix error in branch detection [citest skip] | ||
|
||
We need to get the name of the branch to which CHANGELOG.md was pushed. | ||
For now, it looks as though `GITHUB_REF_NAME` is that name. But don't | ||
trust it - first, check that it is `main` or `master`. If not, then use | ||
trust it - first, check that it is `main` or `master`. If not, then use // wokeignore:rule=master | ||
a couple of other methods to determine what is the push branch. | ||
|
||
Signed-off-by: Rich Megginson <[email protected]> | ||
|