Skip to content

Commit caac326

Browse files
Add pkg.pr.new to make contributions more accessible (#312)
* feat: Add pkg.pr.new to make contributions more accessible * chore: Update pkg.pr.new workflow permissions to allow pull request writing * Remove deprecated backend packages from pkg.pr.new workflow --------- Co-authored-by: James Martinez <jamescmartinez@gmail.com>
1 parent 40ee9cb commit caac326

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/pkg-pr-new.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: pkg.pr.new
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
on:
6+
pull_request:
7+
branches:
8+
- main
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: actions/setup-node@v6
15+
with:
16+
node-version-file: package.json
17+
- run: npm ci
18+
- run: npm run build
19+
- run: >
20+
npx pkg-pr-new publish
21+
./packages/openworkflow
22+
./packages/cli
23+
./packages/dashboard

knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/knip@5/schema.json",
33
"treatConfigHintsAsErrors": true,
44

5-
"ignoreBinaries": ["mint", "open"],
5+
"ignoreBinaries": ["mint", "open", "pkg-pr-new"],
66
"ignoreDependencies": [
77
"@tanstack/react-router-ssr-query",
88
"@tanstack/router-plugin",

0 commit comments

Comments
 (0)