Skip to content

Commit 993bd07

Browse files
veds12KelvinYang0320
authored andcommitted
changed push action in changelog
1 parent d9bd5ec commit 993bd07

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/changelog_update.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ jobs:
2323
git config --local user.name ${{ secrets.AIDUDEZZZ_BOT_USER }}
2424
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=true" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
2525
- name: Push changes
26-
if: env.push == 'true'
27-
env:
28-
CI_USER: ${{ secrets.AIDUDEZZZ_BOT_USER }}
29-
CI_TOKEN: ${{ secrets.AIDUDEZZZ_BOT_TOKEN }}
30-
run: |
31-
git push "https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:dev
26+
if: env.push == 'true'
27+
uses: ad-m/github-push-action@master
28+
with:
29+
github_token: ${{ secrets.AIDUDEZZ_BOT_TOKEN }}
30+
branch: dev

0 commit comments

Comments
 (0)