mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-02-04 06:51:44 +00:00
ci: only run PR lint in PR stage (#471)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
18599fc94c
commit
18a5608e72
1
.github/workflows/run-lint.yaml
vendored
1
.github/workflows/run-lint.yaml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
uses: ./.github/actions/lint
|
uses: ./.github/actions/lint
|
||||||
|
|
||||||
- name: Validate PR title lint
|
- name: Validate PR title lint
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
|
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user