chore: sync lint-action workflow
Dit bestand is nu hetzelfde als op de branch voor de testing workflow om merge conflicts te vermijden Komt door mijn eigen slechte branching...
This commit is contained in:
parent
efb3aa5512
commit
50adbda352
1 changed files with 3 additions and 2 deletions
5
.github/workflows/lint-action.yml
vendored
5
.github/workflows/lint-action.yml
vendored
|
@ -11,7 +11,7 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
types: [ready_for_review]
|
||||
types: ["synchronize", "ready_for_review", "opened", "reopened"]
|
||||
|
||||
|
||||
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
|
||||
|
@ -22,6 +22,7 @@ permissions:
|
|||
jobs:
|
||||
run-linters:
|
||||
name: Run linters
|
||||
if: '! github.event.pull_request.draft'
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
|
||||
steps:
|
||||
|
@ -44,4 +45,4 @@ jobs:
|
|||
eslint: true
|
||||
eslint_args: '--config eslint.config.ts'
|
||||
prettier: true
|
||||
commit_message: 'style: fix linting issues met ${linter}'
|
||||
commit_message: 'style: fix linting issues met ${linter}'
|
Loading…
Add table
Add a link
Reference in a new issue