ci: GitHub action for code linting #6
6
.github/workflows/conventional-commits.yml
vendored
6
.github/workflows/conventional-commits.yml
vendored
@ -9,7 +9,9 @@ jobs:
|
||||
name: conventional commits
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: webiny/action-conventional-commits@v1.3.0
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: conventional commits check
|
||||
uses: webiny/action-conventional-commits@v1.3.0
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -8,7 +8,7 @@ jobs:
|
||||
validate-pr-title:
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: PR Conventional Commit Validation
|
||||
- name: conventional pull requests check
|
||||
uses: ytanikin/PRConventionalCommits@1.1.0
|
||||
with:
|
||||
task_types: '["build","chore","ci","docs","feat","fix","perf","refactor","revert","style","test"]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user
Define explicit permissions for security.
The addition of an empty
permissions
block at the top level is unnecessary since specific permissions are already defined within thebuild
job. Consider removing it to avoid confusion.Committable suggestion