diff --git a/.github/workflows/static-checks.yaml b/.github/workflows/static-checks.yaml index 9b8af9c53b..78b235ad02 100644 --- a/.github/workflows/static-checks.yaml +++ b/.github/workflows/static-checks.yaml @@ -1,7 +1,15 @@ -on: ["pull_request"] +on: + pull_request: + types: + - opened + - reopened + - labeled + - unlabeled + name: Static checks jobs: test: + if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} strategy: matrix: go-version: [1.13.x, 1.14.x, 1.15.x]