fix: working styles #60
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: versioning release | |
| on: | |
| push: | |
| branches: [main] # updates/opens the release PR when commits land on main | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| concurrency: | |
| group: release-please | |
| cancel-in-progress: true | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| release_created: ${{ steps.rp.outputs.release_created }} | |
| steps: | |
| - id: rp | |
| uses: googleapis/release-please-action@v4 | |
| with: | |
| config-file: 'release-please-config.json' | |
| manifest-file: '.release-please-manifest.json' | |
| - name: Delete Old v0.6 Releases | |
| uses: nikhilbadyal/ghaction-rm-releases@v0.7.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASE_PATTERN: "v0.6*" | |
| RELEASES_TO_KEEP: 2 # Optional: Keep the 5 most recent releases matching the pattern | |
| DRY_RUN: 'true' | |
| - name: Delete Old v0.5 Releases | |
| uses: nikhilbadyal/ghaction-rm-releases@v0.7.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASE_PATTERN: "v0.5*" | |
| RELEASES_TO_KEEP: 1 # Optional: Keep the 5 most recent releases matching the pattern | |
| DRY_RUN: 'true' | |
| - name: Delete Xt-Type v0.9 Releases | |
| uses: nikhilbadyal/ghaction-rm-releases@v0.7.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASE_PATTERN: "v0.9*" | |
| RELEASES_TO_KEEP: 1 # Optional: Keep the 5 most recent releases matching the pattern | |
| DRY_RUN: 'true' | |
| - name: Delete old Xt-Type v0.10 Releases | |
| uses: nikhilbadyal/ghaction-rm-releases@v0.7.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| RELEASE_PATTERN: "v0.10*" | |
| RELEASES_TO_KEEP: 2 # Optional: Keep the 5 most recent releases matching the pattern | |
| DRY_RUN: 'true' |