mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Set the actor explicitly for the access token used (#49490)
The push action does `https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/${REPOSITORY}.git"` as the repo, so if we are to use a Personal Access Token (PAT) generated by the comfyorange user as the access token for pushing, we need to also use them as the actor for the push
This commit is contained in:
@@ -32,5 +32,7 @@ jobs:
|
||||
git commit -m "Automatic TGUI Rebuild [ci skip]" -a || true
|
||||
- name: Push Artifacts
|
||||
uses: ad-m/github-push-action@master
|
||||
env:
|
||||
GITHUB_ACTOR: comfyorange
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_MASTER_KEY }}
|
||||
|
||||
@@ -32,5 +32,7 @@ jobs:
|
||||
git commit -m "Automatic changelog compile [ci skip]" -a || true
|
||||
- name: "Push"
|
||||
uses: ad-m/github-push-action@master
|
||||
env:
|
||||
GITHUB_ACTOR: comfyorange
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_MASTER_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user