-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #608 from dequelabs/release-1668542839
- Loading branch information
Showing
30 changed files
with
848 additions
and
440 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
* @dequelabs/axe-api-team |
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,48 @@ | ||
name: Semantic PR Title | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- edited | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check PR title | ||
uses: actions/github-script@v6 | ||
env: | ||
TITLE: ${{ github.event.pull_request.title }} | ||
with: | ||
script: | | ||
const { TITLE } = process.env | ||
const types = [ | ||
'feat', | ||
'fix', | ||
'perf', | ||
'style', | ||
'docs', | ||
'refactor', | ||
'test', | ||
'build', | ||
'ci', | ||
'chore', | ||
'Merge', | ||
'Revert', | ||
'Release' | ||
] | ||
console.log('Validating PR title: "%s"', TITLE) | ||
for (const type of types) { | ||
if (TITLE.startsWith(type)) { | ||
console.log('Title matches conventional commits (type: "%s").', type) | ||
return | ||
} | ||
} | ||
const error = new Error('PR title does not follow conventional commits.\n\nPlease refer to https://www.conventionalcommits.org/en/v1.0.0') | ||
error.stack = [] // Clean the error stack, it's useless here. | ||
throw error |
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
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 |
---|---|---|
|
@@ -5,5 +5,5 @@ | |
"packages/webdriverjs/tests/example", | ||
"axe_core_test" | ||
], | ||
"version": "4.5.1" | ||
"version": "4.5.2" | ||
} |
Oops, something went wrong.