Skip to content

Commit e422297

Browse files
committed
changed push action in changelog
1 parent a1112aa commit e422297

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
@@ -27,9 +27,8 @@ jobs:
2727
git config --local user.name ${{ secrets.AIDUDEZZZ_BOT_USER }}
2828
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=true" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
2929
- name: Push changes
30-
if: env.push == 'true'
31-
env:
32-
CI_USER: ${{ secrets.AIDUDEZZZ_BOT_USER }}
33-
CI_TOKEN: ${{ secrets.AIDUDEZZZ_BOT_TOKEN }}
34-
run: |
35-
git push "https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:dev
30+
if: env.push == 'true'
31+
uses: ad-m/github-push-action@master
32+
with:
33+
github_token: ${{ secrets.AIDUDEZZ_BOT_TOKEN }}
34+
branch: dev

0 commit comments

Comments
 (0)