Skip to content

Commit a320b43

Browse files
agilan1TkDodo
andauthored
chore: Update GitHub Actions workflows (#6203)
* chore: clean up github action workflows * chore: remove ci-v3.yml * fix: add rc branch back to branches list in ci.yml --------- Co-authored-by: Dominik Dorfmeister <[email protected]>
1 parent 7cb82a7 commit a320b43

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ on:
77
description: override release tag
88
required: false
99
push:
10-
branches:
11-
- 'main'
12-
- 'alpha'
13-
- 'beta'
14-
- 'rc'
15-
- 'v4'
10+
branches: ['main', 'alpha', 'beta', 'rc', 'v4']
1611

1712
concurrency:
1813
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
@@ -24,8 +19,7 @@ env:
2419

2520
jobs:
2621
test-and-publish:
27-
if: github.repository == 'TanStack/query'
28-
name: 'Test & Publish'
22+
name: Test & Publish
2923
runs-on: ubuntu-latest
3024
steps:
3125
- uses: actions/checkout@v4

.github/workflows/pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: pr
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- "docs/**"
7+
- "media/**"
8+
- "**/*.md"
49

510
concurrency:
611
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}

0 commit comments

Comments
 (0)