Skip to content

Commit e1c0127

Browse files
committed
Fix formatting in workflows and skip CI for version tags
1 parent 716d98b commit e1c0127

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
lint:
1414
name: Lint
1515
runs-on: ubuntu-latest
16+
# Skip CI if this commit has a version tag (Release workflow handles it)
17+
if: "!startsWith(github.ref, 'refs/tags/v')"
1618
steps:
1719
- uses: actions/checkout@v4
1820
- uses: actions/setup-node@v4
@@ -25,6 +27,8 @@ jobs:
2527

2628
test:
2729
name: Test (Node ${{ matrix.node }}, ${{ matrix.os }})
30+
# Skip CI if this commit has a version tag (Release workflow handles it)
31+
if: "!startsWith(github.ref, 'refs/tags/v')"
2832
strategy:
2933
matrix:
3034
node: [18, 20, 22]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
permissions:
99
contents: write
10-
id-token: write # Required for OIDC trusted publishing
10+
id-token: write # Required for OIDC trusted publishing
1111

1212
jobs:
1313
release:

0 commit comments

Comments
 (0)