Skip to content

Commit bfcfd52

Browse files
committed
Run only in pending merge tags
1 parent 87c7d8b commit bfcfd52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pre-commit.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: Pre-commit check
22

33
on:
44
pull_request:
5+
types: [opened, reopened, synchronize, labeled]
6+
7+
58
jobs:
69
lint:
10+
if: |
11+
contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge')
712
name: Checking if any fixes are needed
813
runs-on: ubuntu-latest
914
steps:

0 commit comments

Comments
 (0)