diff --git a/.github/workflows/run_lint.yml b/.github/workflows/run_lint.yml index 5341980..8902b0e 100644 --- a/.github/workflows/run_lint.yml +++ b/.github/workflows/run_lint.yml @@ -4,10 +4,13 @@ name: Run static code analyzer Lint on: pull_request: - types: [ labeled, opened, synchronize ] + push: + branches: + - master jobs: run_lint: + if: ${{ github.event_name == 'push' || !contains(github.event.pull_request.labels.*.name, 'build:nolint') }} if: contains(github.event.pull_request.labels.*.name, 'build:lint') || github.event.label.name == 'build:lint' runs-on: ubuntu-latest permissions: