Release a new version of the icon pack on PR's merging #9
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 Release | |
| run-name: Release a new version of the icon pack on PR's merging | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| semantic-release: | |
| if: "!startsWith(github.event.head_commit.message, 'ci')" | |
| name: Semantic Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| # Checkout data from the repository | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| # Run Semantic-release-action with the included release | |
| - name: Semantic Release | |
| uses: cycjimmy/semantic-release-action@v4 | |
| id: semantic # Need an `id` for output variables | |
| env: | |
| # Use admin FG-PAT | |
| GITHUB_TOKEN: ${{ secrets.RELEABOT_TOKEN }} |