Skip to content

Commit 1d33d64

Browse files
ci: merge github workflows (#361)
* WIP: test preview comment * Merge version preview into pr.yml * Fix job name * Delete changeset
1 parent 0964693 commit 1d33d64

3 files changed

Lines changed: 12 additions & 30 deletions

File tree

.github/comment-on-release/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Add this step to your `.github/workflows/release.yml` file after the `changesets
5353

5454
- name: Comment on PRs about release
5555
if: steps.changesets.outputs.published == 'true'
56-
uses: tanstack/config/.github/comment-on-release@main
56+
uses: TanStack/config/.github/comment-on-release@main
5757
with:
5858
published-packages: ${{ steps.changesets.outputs.publishedPackages }}
5959
```

.github/workflows/changeset-preview.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/pr.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212

1313
permissions:
1414
contents: read
15+
pull-requests: write
1516

1617
jobs:
1718
test:
@@ -36,8 +37,6 @@ jobs:
3637
steps:
3738
- name: Checkout
3839
uses: actions/checkout@v6.0.2
39-
with:
40-
fetch-depth: 0
4140
- name: Setup Tools
4241
uses: ./.github/setup
4342
- name: Build Packages
@@ -50,9 +49,17 @@ jobs:
5049
steps:
5150
- name: Checkout
5251
uses: actions/checkout@v6.0.2
53-
with:
54-
fetch-depth: 0
5552
- name: Check Provenance
5653
uses: danielroe/provenance-action@v0.1.1
5754
with:
5855
fail-on-downgrade: true
56+
version-preview:
57+
name: Version Preview
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Checkout
61+
uses: actions/checkout@v6.0.2
62+
- name: Setup Tools
63+
uses: ./.github/setup
64+
- name: Changeset Preview
65+
uses: ./.github/changeset-preview

0 commit comments

Comments
 (0)