File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,8 @@ git config user.name "$GITHUB_NAME"
16
16
git config user.email " $GITHUB_EMAIL "
17
17
echo " machine github.com login $GITHUB_NAME password $GITHUB_TOKEN " > " $HOME /.netrc"
18
18
19
-
19
+ if [ " $GIT_SET_GLOBAL_USER " = " true" ]
20
+ then
21
+ git config --global user.name " $GITHUB_NAME "
22
+ git config --global user.email " $GITHUB_EMAIL "
23
+ fi
Original file line number Diff line number Diff line change 14
14
steps :
15
15
- name : Checkout
16
16
uses : actions/checkout@v4
17
+ with :
18
+ persist-credentials : " false"
17
19
- name : Setup project
18
20
uses : ./.github/actions/setup-project
19
21
- name : Install dependencies
26
28
GITHUB_TOKEN : ${{ secrets.GH_RELEASE_TOKEN }}
27
29
GITHUB_NAME : ${{ vars.GH_BOT_NAME }}
28
30
GITHUB_EMAIL : ${{ vars.GH_BOT_EMAIL }}
31
+ GIT_SET_GLOBAL_USER : true
29
32
- name : Deploy
30
33
env :
31
34
GIT_USER : ${{ vars.GH_BOT_NAME }}
Original file line number Diff line number Diff line change 2
2
3
3
Built using [ Docusaurus 2] ( https://v2.docusaurus.io/ ) .
4
4
5
+
5
6
## Development
6
7
7
8
### Installation
You can’t perform that action at this time.
0 commit comments