File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 11name : Generate Changelog
22on :
3- push :
4- branches :
5- - master
3+ pull_request :
4+ types : [closed]
5+
6+ release :
7+ types : [published]
8+
9+ issues :
10+ types : [closed, edited]
611
712jobs :
813 generate_changelog :
@@ -24,11 +29,11 @@ jobs:
2429 run : |
2530 git config --local user.email ${{ secrets.AIDUDEZZZ_BOT_EMAIL }}
2631 git config --local user.name ${{ secrets.AIDUDEZZZ_BOT_USER }}
27- git add docs/ CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo ::set-env name=push::1 || echo "No changes to CHANGELOG.md"
32+ git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo ::set-env name=push::1 || echo "No changes to CHANGELOG.md"
2833 - name : Push changes
2934 if : env.push == 1
3035 env :
3136 CI_USER : ${{ secrets.AIDUDEZZZ_BOT_USER }}
3237 CI_TOKEN : ${{ secrets.AIDUDEZZZ_BOT_TOKEN }}
3338 run : |
34- git push "https://$CI_USER:[email protected] /$GITHUB_REPOSITORY.git" HEAD:master 39+ git push "https://$CI_USER:[email protected] /$GITHUB_REPOSITORY.git" HEAD:dev
You can’t perform that action at this time.
0 commit comments