Skip to content

Commit 01676ed

Browse files
fix(ci): push with the default token
The checkout step named "secrets.PERSONAL_TOKEN || secrets.GITHUB_TOKEN". Only fluent-forms defines PERSONAL_TOKEN, and it is stale, so the fallback selected an unusable credential and checkout failed there with: fatal: could not read Username for https://github.com: terminal prompts disabled The job already declares contents: write, so the default GITHUB_TOKEN can push the release commit and its tags. Dropping the reference removes a dependency on a secret that fourteen of the fifteen repositories never had.
1 parent 2de3486 commit 01676ed

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
# The release script skips versions that are already tagged, so the
2525
# full history and every tag have to be present.
2626
fetch-depth: 0
27-
token: ${{ secrets.PERSONAL_TOKEN || secrets.GITHUB_TOKEN }}
2827

2928
- name: Setup PHP
3029
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)