fix(deps): Bump ctlptl to 0.9.2 (#447) #104
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: release-prepare | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "cdviz-grafana/**" | |
| - "cdviz-db/**" | |
| - "charts/**" | |
| - "cliff.toml" | |
| - ".github/workflows/release-prepare.yml" | |
| - ".mise/tasks" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| prepare: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/create-github-app-token@v2 | |
| id: get_token | |
| with: | |
| private-key: ${{ secrets.INTBOT_PRIVATE_KEY }} | |
| app-id: ${{ secrets.INTBOT_APP_ID }} | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # Full history needed for git-cliff | |
| token: ${{ steps.get_token.outputs.token }} | |
| - name: Install mise | |
| uses: jdx/mise-action@v3 | |
| with: | |
| experimental: true | |
| - name: Prepare releases | |
| id: prepare | |
| # shell: bash | |
| run: | | |
| mise run '//cdviz-db:release_prepare' | |
| mise run '//charts:release_prepare' | |
| # Check if any files changed | |
| if git diff --quiet; then | |
| echo "changed=false" >> "$GITHUB_OUTPUT" | |
| echo "No version changes detected" | |
| else | |
| echo "changed=true" >> "$GITHUB_OUTPUT" | |
| echo "Version changes detected:" | |
| git diff --name-only | |
| fi | |
| - name: Create Pull Request | |
| if: steps.prepare.outputs.changed == 'true' | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| # token: ${{ secrets.GITHUB_TOKEN }} | |
| token: ${{ steps.get_token.outputs.token }} | |
| commit-message: "chore(release): prepare releases" | |
| title: "chore(release): prepare releases" | |
| body: | | |
| Automated release preparation by git-cliff. | |
| ## Changes | |
| This PR updates versions and changelogs based on conventional commits. | |
| ## Next Steps | |
| 1. Review the version bumps and changelogs | |
| 2. Merge this PR to trigger automatic publication to OCI registry | |
| --- | |
| 🤖 Generated by [release-prepare workflow](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) | |
| branch: release/auto | |
| delete-branch: true | |
| labels: release |