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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

permissions:
contents: read # checkout
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write # npm trusted publishing (OIDC)
contents: read # checkout
contents: read
steps:
- name: 猬囷笍 Checkout repo
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write # npm trusted publishing (OIDC)
contents: read # checkout
contents: read
outputs:
packages: ${{ steps.preview.outputs.packages }}
steps:
Expand All @@ -99,6 +99,7 @@ jobs:
mode: publish
# Explicit: an .npmrc would make preview-release default to token mode.
publish_mode: oidc-only

preview-comment:
name: Comment preview
needs: preview
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

permissions:
contents: read # checkout
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
18 changes: 1 addition & 17 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
# Supply-chain guard: never resolve a dependency version published less than
# 24 h ago (most malicious releases are pulled within the first hour). Requires
# pnpm >= 10.16.
#
# No exclude list on purpose: our own scopes (@variablelab/*, @rrlab/*) wait
# 24 h too. In .npmrc, `minimum-release-age-exclude[]` breaks whenever pnpm is
# launched through npm (`npx pnpm`, `npm exec`, `npm run`). npm re-exports the
# array as a single string, and pnpm 10.30.3 then exempts every package. To
# adopt a fresh own release right away, pass
# `--config.minimum-release-age=0` to that one `pnpm add`.
#
# This lives here instead of pnpm-workspace.yaml because @rrlab/cli (through
# @vlandoss/clibuddy 0.7.1) treats any repo with a pnpm-workspace.yaml as a
# monorepo, and `rr tsc` then fails ("Invalid workspace patterns") or, with
# `packages: ["."]`, silently skips this package. Once
# https://github.com/withvariablelab/dx/issues/249 ships, move it there with
# minimumReleaseAgeExclude, and delete this file.
# In .npmrc, not pnpm-workspace.yaml, until withvariablelab/dx#249 ships; no exclude list (breaks under npm exec).
minimum-release-age=1440
Loading