Merge pull request #201 from maevsi/renovate/conventional-changelog-c… #4974
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - alpha | |
| - beta | |
| - main | |
| - renovate/** | |
| jobs: | |
| prepare_jobs: | |
| name: "Prepare: job optimization" | |
| runs-on: ubuntu-latest | |
| outputs: | |
| pr_found: ${{ steps.pr.outputs.pr_found }} | |
| steps: | |
| - name: Get current PR | |
| id: pr | |
| uses: 8BitJonny/gh-get-current-pr@3.0.0 | |
| with: | |
| filterOutClosed: true | |
| filterOutDraft: true | |
| sha: ${{ github.event.pull_request.head.sha }} | |
| build: | |
| needs: prepare_jobs | |
| name: dargstack rgen | |
| uses: dargmuesli/github-actions/.github/workflows/dargstack-rgen.yml@2.5.10 | |
| if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request' | |
| release-semantic: | |
| needs: build | |
| name: Semantic Release | |
| uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@2.5.10 | |
| permissions: | |
| contents: write | |
| secrets: | |
| PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} |