Skip to content

Commit ff2068f

Browse files
committed
Remove redundancy in condition for step
1 parent 05b5c75 commit ff2068f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/golangci_lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
echo "version=${version}" | tee -a "$GITHUB_OUTPUT"
2626
2727
- name: golangci-lint
28-
if: ${{ (github.event_name == 'pull_request' && !contains(join(github.event.pull_request.labels.*.name, ' '), 'allow-lint-issues')) || github.event_name == 'merge_group' }}
28+
# Run on PR's that are not labeled with 'allow-lint-issues' and in the merge queue.
29+
if: ${{ !contains(join(github.event.pull_request.labels.*.name, ' '), 'allow-lint-issues') || github.event_name == 'merge_group' }}
2930
# NOTE: Keep this version in sync with ACTION_CI_LINT_GO_GIT_TAG in ./script/lint.sh
3031
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/3.0.0
3132
with:

0 commit comments

Comments
 (0)