Skip to content

Commit

Permalink
Fix CI to only run on branches, not tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zyv committed Mar 1, 2025
1 parent 19a1f28 commit baebf20
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: CI
on: [ push, pull_request ]

on:
push:
branches:
- "**"
pull_request:

jobs:
lint-and-test:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
timeout-minutes: 5

if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit baebf20

Please sign in to comment.