Skip to content

fix: update Python version from 3.12 to 3.13 in workflows, requiremen… #116

fix: update Python version from 3.12 to 3.13 in workflows, requiremen…

fix: update Python version from 3.12 to 3.13 in workflows, requiremen… #116

name: CD - Release Please
on:
push:
branches: ["main"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release-please:
name: CD - Release Please
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Generate Release Token
uses: actions/create-github-app-token@v3
id: app-token
with:
client-id: ${{ secrets.RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
- name: Checkout Repository
uses: actions/checkout@v7
with:
token: ${{ steps.app-token.outputs.token }}
fetch-depth: 0
- name: Run Release Please
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
token: ${{ steps.app-token.outputs.token }}
- name: Rename GitHub Release
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
TAG_NAME: ${{ steps.release.outputs.tag_name }}
VERSION: ${{ steps.release.outputs.version }}
run: gh release edit "$TAG_NAME" --title "AC Virtual Engineer v$VERSION"