From 8868acf120887befc0184ee5cf185cc9ff149074 Mon Sep 17 00:00:00 2001 From: John Carmack Date: Sun, 5 Apr 2026 15:45:45 -0700 Subject: [PATCH 1/5] Update GitHub Action runtime to node24 GitHub Actions now supports node24 as a runtime. Update from node20 to node24 for the action entry point. --- packages/action/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/action/action.yml b/packages/action/action.yml index bfa1c9bd..91f30eb7 100644 --- a/packages/action/action.yml +++ b/packages/action/action.yml @@ -70,7 +70,7 @@ outputs: releaseId: description: The ID of the created release. Only present when `createRelease` is set to true. runs: - using: "node20" + using: "node24" main: "dist/index.js" branding: icon: "sliders" From 7a53816ba6f29f807f4489c99012053dfc4c8df0 Mon Sep 17 00:00:00 2001 From: John Carmack Date: Sun, 5 Apr 2026 15:49:21 -0700 Subject: [PATCH 2/5] Update actions/checkout from v4 to v6 --- .github/workflows/run-on-pr.yml | 4 ++-- .github/workflows/run-version-or-publish.yml | 2 +- .github/workflows/test.yml | 2 +- packages/covector/src/init.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-on-pr.yml b/.github/workflows/run-on-pr.yml index a3b43de1..6d0c7f89 100644 --- a/.github/workflows/run-on-pr.yml +++ b/.github/workflows/run-on-pr.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: volta-cli/action@v4 @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: volta-cli/action@v4 diff --git a/.github/workflows/run-version-or-publish.yml b/.github/workflows/run-version-or-publish.yml index b8ff0f8a..4f4ae71f 100644 --- a/.github/workflows/run-version-or-publish.yml +++ b/.github/workflows/run-version-or-publish.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - uses: volta-cli/action@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36938d39..83aa586e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # some of the tests use the covector git history to run fetch-depth: 0 diff --git a/packages/covector/src/init.ts b/packages/covector/src/init.ts index b4069715..beb5be26 100644 --- a/packages/covector/src/init.ts +++ b/packages/covector/src/init.ts @@ -391,7 +391,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # required for use of git history - name: covector status @@ -436,7 +436,7 @@ jobs: successfulPublish: \${{ steps.covector.outputs.successfulPublish }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # required for use of git history${ pkgManagers.javascript From 8b3ac7585ff29cd84efd4dca1756dfa495a0a1db Mon Sep 17 00:00:00 2001 From: John Carmack Date: Sun, 5 Apr 2026 15:49:39 -0700 Subject: [PATCH 3/5] Update volta-cli/action from v4 to v5 --- .github/workflows/run-on-pr.yml | 4 ++-- .github/workflows/run-version-or-publish.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-on-pr.yml b/.github/workflows/run-on-pr.yml index 6d0c7f89..0fae7716 100644 --- a/.github/workflows/run-on-pr.yml +++ b/.github/workflows/run-on-pr.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: volta-cli/action@v4 + - uses: volta-cli/action@v5 - run: npm ci --ignore-scripts - run: npm run build - run: npm run pkg -w action @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: volta-cli/action@v4 + - uses: volta-cli/action@v5 - run: npm ci --ignore-scripts - run: npm run build - run: npm run -ws --if-present prepublishOnly diff --git a/.github/workflows/run-version-or-publish.yml b/.github/workflows/run-version-or-publish.yml index 4f4ae71f..3636b9f9 100644 --- a/.github/workflows/run-version-or-publish.yml +++ b/.github/workflows/run-version-or-publish.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: volta-cli/action@v4 + - uses: volta-cli/action@v5 - uses: actions/setup-node@v3 with: registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83aa586e..0fe6b4b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: with: # some of the tests use the covector git history to run fetch-depth: 0 - - uses: volta-cli/action@v4 + - uses: volta-cli/action@v5 - run: npm ci - run: npm run build # covector CLI tests run built files - run: npm test From ee63281feef334160b358ae3628972875143dbf4 Mon Sep 17 00:00:00 2001 From: John Carmack Date: Sun, 5 Apr 2026 15:57:06 -0700 Subject: [PATCH 4/5] Update setup-node to v6, create-pull-request to v8, fix action.yml defaults --- .github/workflows/comment-on-forks.yml | 2 +- .github/workflows/run-version-or-publish.yml | 5 +++-- packages/action/action.yml | 10 +++++----- packages/covector/src/init.ts | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/comment-on-forks.yml b/.github/workflows/comment-on-forks.yml index 1ef515c9..f283ff53 100644 --- a/.github/workflows/comment-on-forks.yml +++ b/.github/workflows/comment-on-forks.yml @@ -22,7 +22,7 @@ jobs: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - name: covector status - uses: jbolda/covector/packages/action@covector-v0 + uses: fltsci/covector/packages/action@main # note that this check could be shifted to the job, but for future reference, we are dumping the full github context if: github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.head_repository.full_name != github.repository || github.actor == 'dependabot[bot]') diff --git a/.github/workflows/run-version-or-publish.yml b/.github/workflows/run-version-or-publish.yml index 3636b9f9..7346c341 100644 --- a/.github/workflows/run-version-or-publish.yml +++ b/.github/workflows/run-version-or-publish.yml @@ -22,7 +22,7 @@ jobs: with: fetch-depth: 0 - uses: volta-cli/action@v5 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v6 with: registry-url: "https://registry.npmjs.org" - name: git config @@ -57,7 +57,7 @@ jobs: dryRun: true - name: create pull request id: cpr - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v8 if: steps.covector.outputs.commandRan == 'version' with: title: "Publish New Versions" @@ -65,3 +65,4 @@ jobs: labels: "version updates, preview" branch: "release" body: ${{ steps.covector.outputs.change }} + delete-branch: true diff --git a/packages/action/action.yml b/packages/action/action.yml index 91f30eb7..463c3175 100644 --- a/packages/action/action.yml +++ b/packages/action/action.yml @@ -15,15 +15,15 @@ inputs: dryRun: description: Run in dry-run mode which skips executing steps, and instead logs. Useful for testing a publish beforehand. required: false - defaults: false + default: "false" createRelease: description: Opt-in to create a release on publish required: false - default: false + default: "false" draftRelease: description: When creating a release, set it as a draft. required: false - default: false + default: "false" filterPackages: description: A comma separated list (no spaces) of packages to run commands on rather than everything listed in the config. required: false @@ -31,11 +31,11 @@ inputs: comment: description: Include a comment on the pull request including context around the comment run required: false - defaults: false + default: "false" recognizeContributors: description: Include contributor and reviewer names within changelog required: false - defaults: false + default: "false" label: description: "the Github pull request label that triggers preview packages" required: false diff --git a/packages/covector/src/init.ts b/packages/covector/src/init.ts index beb5be26..46319a8c 100644 --- a/packages/covector/src/init.ts +++ b/packages/covector/src/init.ts @@ -441,7 +441,7 @@ jobs: fetch-depth: 0 # required for use of git history${ pkgManagers.javascript ? ` - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v6 with: registry-url: 'https://registry.npmjs.org'` : "" From c42c1acd5abd4d9c893b44bc7088c70410ab5235 Mon Sep 17 00:00:00 2001 From: John Carmack Date: Sun, 5 Apr 2026 16:05:10 -0700 Subject: [PATCH 5/5] Add write permission to pull requests --- .github/workflows/run-on-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-on-pr.yml b/.github/workflows/run-on-pr.yml index 0fae7716..e3b04267 100644 --- a/.github/workflows/run-on-pr.yml +++ b/.github/workflows/run-on-pr.yml @@ -4,6 +4,8 @@ on: pull_request jobs: status: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@v6