Skip to content

Commit baebf20

Browse files
committed
Fix CI to only run on branches, not tags
1 parent 19a1f28 commit baebf20

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
name: CI
2-
on: [ push, pull_request ]
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
38

49
jobs:
510
lint-and-test:
6-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
711
runs-on: ubuntu-latest
812
timeout-minutes: 5
13+
14+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
15+
916
strategy:
1017
fail-fast: false
1118
matrix:

0 commit comments

Comments
 (0)