From cfb263f8a29ac62d4828155147f588763f1a2e26 Mon Sep 17 00:00:00 2001 From: Jiahao Guo Date: Fri, 20 Mar 2026 17:15:13 +0800 Subject: [PATCH] fix(ci): grant contents write permission for beachball publish push When `id-token: write` was added for trusted npm publishing (OIDC), specifying `permissions` at the job level overrides all defaults. `contents` dropped from `write` to `read`, breaking beachball's `git push` after publish. Also syncs package version to 1.5.3 (already published) and removes the 3 consumed changefiles. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 2 +- ...al-php-parser-1068307e-5498-45b9-9264-73094ec2aef9.json | 7 ------- ...al-php-parser-83914600-fbe1-4b5d-81a1-9dc3a1229d63.json | 7 ------- ...al-php-parser-d5a9bfd9-0196-4053-b419-f44f37653833.json | 7 ------- package.json | 2 +- 5 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 change/@rightcapital-php-parser-1068307e-5498-45b9-9264-73094ec2aef9.json delete mode 100644 change/@rightcapital-php-parser-83914600-fbe1-4b5d-81a1-9dc3a1229d63.json delete mode 100644 change/@rightcapital-php-parser-d5a9bfd9-0196-4053-b419-f44f37653833.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a564df..d9407d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest permissions: id-token: write - contents: read + contents: write steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 diff --git a/change/@rightcapital-php-parser-1068307e-5498-45b9-9264-73094ec2aef9.json b/change/@rightcapital-php-parser-1068307e-5498-45b9-9264-73094ec2aef9.json deleted file mode 100644 index 994c454..0000000 --- a/change/@rightcapital-php-parser-1068307e-5498-45b9-9264-73094ec2aef9.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "fix(deps): update dependency lodash to v4.17.23 [security]", - "packageName": "@rightcapital/php-parser", - "email": "29139614+renovate[bot]@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change/@rightcapital-php-parser-83914600-fbe1-4b5d-81a1-9dc3a1229d63.json b/change/@rightcapital-php-parser-83914600-fbe1-4b5d-81a1-9dc3a1229d63.json deleted file mode 100644 index 3606a27..0000000 --- a/change/@rightcapital-php-parser-83914600-fbe1-4b5d-81a1-9dc3a1229d63.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "chore(deps): update actions/setup-node action to v5", - "packageName": "@rightcapital/php-parser", - "email": "29139614+renovate[bot]@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change/@rightcapital-php-parser-d5a9bfd9-0196-4053-b419-f44f37653833.json b/change/@rightcapital-php-parser-d5a9bfd9-0196-4053-b419-f44f37653833.json deleted file mode 100644 index efbb650..0000000 --- a/change/@rightcapital-php-parser-d5a9bfd9-0196-4053-b419-f44f37653833.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "chore(deps): update actions/setup-node action to v6", - "packageName": "@rightcapital/php-parser", - "email": "29139614+renovate[bot]@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/package.json b/package.json index 27718a6..5c26f69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rightcapital/php-parser", - "version": "1.5.2", + "version": "1.5.3", "description": "TypeScript types for PHP Parser JSON representation", "keywords": [ "PHP",