actions: lint-action workflow update

linters worden enkel uitgevoerd op PRs die geen draft zijn
This commit is contained in:
Timo De Meyst 2025-03-16 17:21:23 +01:00
parent fbf53c3d36
commit 0cb1436772

View file

@ -11,7 +11,6 @@ on:
pull_request:
branches:
- dev
types: [ready_for_review]
# 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 +21,7 @@ permissions:
jobs:
run-linters:
name: Run linters
if: '! github.event.pull_request.draft'
runs-on: [self-hosted, Linux, X64]
steps: