File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 20
20
- name : Checkout
21
21
uses : actions/checkout@v3
22
22
with :
23
- persist-credentials : false
24
- - name : Setup Git config
25
- env :
26
- GH_USER : ${{ secrets.GH_USER }}
27
- GH_TOKEN : ${{ secrets.GH_TOKEN }}
28
- GIT_USER_NAME : ${{ secrets.GIT_USER_NAME }}
29
- GIT_USER_EMAIL : ${{ secrets.GIT_USER_EMAIL }}
30
- GIT_COMMITTER_EMAIL : ${{ secrets.GIT_USER_EMAIL }}
31
- run : |
32
- git remote set-url --push origin "https://${GH_USER}:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
33
- git config user.name "$GIT_USER_NAME"
34
- git config user.email "$GIT_USER_EMAIL"
23
+ token : ${{ secrets.GH_TOKEN }}
35
24
- name : Import GPG key
36
25
uses : crazy-max/ghaction-import-gpg@v5
37
26
with :
Original file line number Diff line number Diff line change @@ -198,7 +198,6 @@ The version and format GitHub actions
198
198
require a user with write access to the repository.
199
199
Set these additional secrets to enable the action:
200
200
201
- - ` GH_USER ` : The GitHub user's username.
202
201
- ` GH_TOKEN ` : A personal access token for the user.
203
202
- ` GIT_USER_NAME ` : The GitHub user's real name.
204
203
- ` GIT_USER_EMAIL ` : The GitHub user's email.
You can’t perform that action at this time.
0 commit comments