Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .automaker/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": 1
}
Empty file added .beads/issues.jsonl
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
test:
runs-on: ubuntu-latest
runs-on: namespace-profile-protolabs-linux
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
analyze:
name: Analyze (${{ matrix.category }})
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
# workspace-config: allow-hosted-runner CodeQL default setup requires hosted runner
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
dependency-review:
name: Review dependency changes
if: ${{ !github.event.pull_request.draft }}
# workspace-config: allow-hosted-runner dependency-review-action requires GitHub-hosted API context
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# workspace-config: allow-hosted-runner GitHub Pages deploy requires the hosted Pages environment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand Down
27 changes: 19 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ permissions:
jobs:
publish:
name: publish ${{ github.ref_name }}
# workspace-config: allow-hosted-runner npm publish --provenance requires hosted OIDC
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -37,8 +38,12 @@ jobs:
with:
node-version: 26
cache: pnpm
# registry-url makes `npm publish` write the right .npmrc and
# consume $NODE_AUTH_TOKEN below.
# registry-url is still required so npm publish targets the
# public registry. Trusted Publishing (configured on
# npmjs.com/package/@protolabsai/protopatch/access) authenticates
# this workflow via the OIDC token issued by `id-token: write`
# below — no NPM_TOKEN secret in play. The same OIDC token also
# supplies provenance.
registry-url: "https://registry.npmjs.org"

- name: Install
Expand Down Expand Up @@ -70,10 +75,16 @@ jobs:
echo "OK: package.json $PKG_VERSION == tag v$TAG_VERSION"

- name: Publish to npm
# --provenance attests this build came from this workflow on this
# ref — a public, tamper-evident chain of custody. id-token: write
# at the job level + setup-node writing the registry URL is what
# makes that work without extra wiring.
# Trusted Publishing: npm reads the GitHub OIDC token from
# id-token: write and exchanges it for a short-lived publish
# credential — no NPM_TOKEN secret required. --provenance attests
# this build came from this workflow on this ref, a public,
# tamper-evident chain of custody.
#
# Prerequisite (one-time, npm UI):
# npmjs.com/package/@protolabsai/protopatch/access →
# Trusted Publishers → Add → GitHub Actions
# repository: protoLabsAI/protoPatch
# workflow filename: publish.yml
# environment: (leave blank — none configured)
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ coverage/
.clawpatch/patches/
.clawpatch/reports/
.clawpatch/locks/

# protoLabs workspace-config standard
.beads/beads.db
.worktrees/
.automaker/features/
.automaker/checkpoints/
.automaker/trajectory/
Loading