Merge pull request #147 from telnetdoogie/renovate/docker-metadata-ac… #174
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: Automatic Semantic Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| new-release: | |
| runs-on: ubuntu-latest | |
| env: | |
| ACTIONS_STEP_DEBUG: true | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 # Checkout our working repository | |
| - name: Conventional Changelog Action | |
| id: changelog | |
| uses: TriPSs/conventional-changelog-action@84dadaf2c367cb52af02737cd9c7e888807219e7 # v6 | |
| with: | |
| github-token: ${{ secrets.GH_TOKEN }} | |
| output-file: 'CHANGELOG.md' | |
| version-file: 'package.json' | |
| - name: Debug Changelog Outputs | |
| run: | | |
| echo "Skipped: ${{ steps.changelog.outputs.skipped }}" | |
| echo "Tag: ${{ steps.changelog.outputs.tag }}" | |
| echo "Clean Changelog: ${{ steps.changelog.outputs.clean_changelog }}" | |
| echo "Outputs Skipped: ${{ steps.changelog.outputs.skipped }}" | |
| - name: Auto-Create Production Release | |
| uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2 # auto create a tag and release | |
| if: github.ref == 'refs/heads/main' && steps.changelog.outputs.skipped == 'false' | |
| with: | |
| token: ${{ secrets.GH_TOKEN }} | |
| tag_name: ${{ steps.changelog.outputs.tag }} | |
| body: ${{ steps.changelog.outputs.clean_changelog }} | |
| make_latest: true |