GH-236 aligning the GH action to the use of `central-publishing-maven… #124
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Changelog | |
| concurrency: ci-aio-lib-java | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| workflow_run: | |
| workflows: ["Update Docs"] | |
| types: | |
| - completed | |
| jobs: | |
| changelog: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'adobe/aio-lib-java' && github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Generate Changelog | |
| uses: heinrichreimer/[email protected] | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| headerLabel: "# 📑 Changelog" | |
| breakingLabel: '### 💥 Breaking' | |
| enhancementLabel: '### 🚀 Enhancements' | |
| bugsLabel: '### 🐛 Bug fixes' | |
| securityLabel: '### 🛡️ Security' | |
| issuesLabel: '### 📁 Other issues' | |
| prLabel: '### 📁 Other pull requests' | |
| addSections: '{"documentation":{"prefix":"### 📖 Documentation","labels":["documentation"]},"tests":{"prefix":"### ✅ Testing","labels":["tests"]}}' | |
| issues: false | |
| issuesWoLabels: false | |
| pullRequests: true | |
| prWoLabels: true | |
| author: true | |
| unreleased: true | |
| compareLink: true | |
| stripGeneratorNotice: true | |
| verbose: true | |
| - name: Commit Changelog | |
| run: | | |
| git config user.name "GitHub Actions" | |
| git config user.email [email protected] | |
| git add CHANGELOG.md | |
| git commit -m 'Update Changelog.' | |
| git push |