Skip to content

Commit a535d89

Browse files
committed
Use default token
Turns out terminal prompts disabled means the PAT is invalid.
1 parent db6b58c commit a535d89

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ jobs:
8585
ref: gh-pages
8686
message: Update ${{ env.TAG }} docs via ${{ github.sha }}
8787
env:
88-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
88+
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ jobs:
8181
- uses: actions/checkout@v4
8282
with:
8383
fetch-depth: 0
84-
token: ${{ secrets.GH_TOKEN }}
84+
token: ${{ github.token }}
8585
- run: |
86-
git config --global user.name "GitHub Actions"
87-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
8886
git fetch . HEAD:stable
8987
git push -f origin stable

0 commit comments

Comments
 (0)