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:
oranges
2020-02-22 00:49:05 +01:00
committed by GitHub
parent b9ea9dba10
commit 67d7b07da8
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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 }}
+2
View File
@@ -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 }}