Skip to content

Commit 50c2301

Browse files
committed
Add missing GH tokens from a few steps for the pre-release.
1 parent 174685f commit 50c2301

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.changeset/beige-cooks-argue.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/pre-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060

6161
- name: Apply version bumps from changesets
6262
run: pnpm changeset version
63+
env:
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6365

6466
- name: Commit updated package.json and changelogs
6567
run: |
@@ -68,6 +70,8 @@ jobs:
6870
git add .
6971
git commit -m "chore: apply version bump from changesets" || echo "No changes to commit"
7072
git push
73+
env:
74+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7175

7276
- name: Read package metadata
7377
id: metadata
@@ -95,6 +99,8 @@ jobs:
9599
echo "package_name=$package_name" >> $GITHUB_OUTPUT
96100
echo "package_version=$package_version" >> $GITHUB_OUTPUT
97101
echo "PLUGIN_DIR=$PLUGIN_DIR" >> $GITHUB_OUTPUT
102+
env:
103+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98104

99105
- name: Create Git tag
100106
run: |
@@ -110,6 +116,8 @@ jobs:
110116
git config user.email "[email protected]"
111117
git tag "$TAG_NAME"
112118
git push origin "$TAG_NAME"
119+
env:
120+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113121

114122
- name: Run composer install
115123
working-directory: ${{ steps.metadata.outputs.PLUGIN_DIR }}

plugins/hwp-previews/TESTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Tests are organized into suites for unit, integration (wpunit), functional, and
77

88
## Test Suites
99

10-
- **unit**: Pure PHP unit tests, no WordPress loaded.
1110
- **wpunit**: Unit/integration tests with WordPress loaded.
1211
- **functional**: Simulates web requests, runs WordPress in a test environment.
1312
- **acceptance**: Browser-based tests (WPBrowser/WPWebDriver).

0 commit comments

Comments
 (0)