Skip to content

Commit

Permalink
Update run_lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bergel authored Aug 6, 2024
1 parent 8e58f3d commit 0beff65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/run_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0beff65

Please sign in to comment.