ci: update lint skip rules
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -62,8 +62,12 @@ jobs:
|
|||||||
echo "templates: ${{ steps.filter.outputs.templates }}"
|
echo "templates: ${{ steps.filter.outputs.templates }}"
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
# Follows same github's ci skip: [skip lint], [lint skip], [no lint]
|
||||||
if: >
|
if: >
|
||||||
github.event_name == 'pull_request' && !contains(github.event.pull_request.title, 'no-lint') && !contains(github.event.pull_request.title, 'skip-lint')
|
github.event_name == 'pull_request' &&
|
||||||
|
!contains(github.event.pull_request.title, '[skip lint]') &&
|
||||||
|
!contains(github.event.pull_request.title, '[lint skip]') &&
|
||||||
|
!contains(github.event.pull_request.title, '[no lint]')
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user