Skip to content

Commit 93c6e00

Browse files
authored
[skip ci]fix(ci): Use secrets for CI bot configuration in release workflow (#161)
1 parent 04298bc commit 93c6e00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ jobs:
8080
- name: Setup CI Bot
8181
if: github.event_name == 'workflow_dispatch'
8282
run: |
83-
git config user.name "The OpenList Bot"
84-
git config user.email "[email protected]"
83+
git config user.name "${{ secrets.BOT_USERNAME }}"
84+
git config user.email "${{ secrets.BOT_USEREMAIL }}"
8585
8686
- name: Update package.json and commit
8787
if: github.event_name == 'workflow_dispatch'

.github/workflows/i18n_sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ jobs:
7070
- name: Setup CI Bot
7171
if: steps.verify-changed-files.outputs.changed == 'true'
7272
run: |
73-
git config --global user.name "The OpenList Bot"
74-
git config --global user.email "[email protected]"
73+
git config --global user.name "${{ secrets.BOT_USERNAME }}"
74+
git config --global user.email "${{ secrets.BOT_USEREMAIL }}"
7575
7676
- name: Commit the changes
7777
if: steps.verify-changed-files.outputs.changed == 'true'

0 commit comments

Comments
 (0)