File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate Changelog
2+ on :
3+ push :
4+ branches :
5+ - dev
6+
7+ jobs :
8+ generate_changelog :
9+ name : Update Changelog
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout dev
13+ uses : actions/checkout@v2
14+
15+ - name : Generate changelog
16+ 17+ with :
18+ token : ${{ secrets.AIDUDEZZ_BOT_TOKEN }}
19+
20+ - name : Commit files
21+ run : |
22+ git config --local user.email ${{ secrets.AIDUDEZZZ_BOT_EMAIL }}
23+ git config --local user.name ${{ secrets.AIDUDEZZZ_BOT_USER }}
24+ git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=true" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
25+ - name : Push changes
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
You can’t perform that action at this time.
0 commit comments