Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dbjorge committed Aug 16, 2024
1 parent f7f7425 commit 1096fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/semantic-pr-footer-v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
## Allowable footers
The footer of a PR will fail unless it [_starts with_ one of the following strings (case insensitive)](https://github.com/dequelabs/axe-api-team-public/blob/main/.github/actions/semantic-pr-footer-v1/src/isValidFooter.ts#L1):
The footer of a PR will fail unless it [_starts with_ one of the following strings (case insensitive, and the colon may be omitted)](https://github.com/dequelabs/axe-api-team-public/blob/main/.github/actions/semantic-pr-footer-v1/src/isValidFooter.ts#L1):
- "close: "
- "closes: "
Expand Down
5 changes: 1 addition & 4 deletions .github/actions/semantic-pr-footer-v1/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29249,10 +29249,7 @@ const validFooterPrefixes = [
'refs',
'qa notes'
];
const validFooters = [
'no qa needed',
'no qa required'
];
const validFooters = ['no qa needed', 'no qa required'];
const validFooterPrefixRegex = new RegExp(`^(${validFooterPrefixes.join('|')}):? `, 'i');
function isValidFooter(footer) {
footer = footer.toLowerCase();
Expand Down

0 comments on commit 1096fe8

Please sign in to comment.