Skip to content

Commit 9627f23

Browse files
committed
ci: avoid double ci runs
1 parent fd1368c commit 9627f23

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
branches:
99
- main
1010
- renovate/*
11-
- renovate/*
1211

1312
jobs:
1413
lint:
14+
if: github.event_name == 'pull_request' || github.event_name == 'push' && github.ref != 'refs/heads/renovate/*' || github.event_name == 'push' && github.ref == 'refs/heads/renovate/*' && github.event.pull_request == null
1515
runs-on: ubuntu-latest
1616

1717
steps:
@@ -32,6 +32,7 @@ jobs:
3232
run: pnpm run lint
3333

3434
test:
35+
if: github.event_name == 'pull_request' || github.event_name == 'push' && github.ref != 'refs/heads/renovate/*' || github.event_name == 'push' && github.ref == 'refs/heads/renovate/*' && github.event.pull_request == null
3536
strategy:
3637
matrix:
3738
os: [ubuntu-latest, windows-latest]

0 commit comments

Comments
 (0)