Skip to content

chore: update config.py and release flow #1

chore: update config.py and release flow

chore: update config.py and release flow #1

Workflow file for this run

name: Auto Release (no PR)
on:
push:
branches: [main]
permissions:
contents: write
concurrency:
group: auto-release
cancel-in-progress: true
jobs:
release:
name: Bump version, tag, release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Conventional Changelog + version bump
id: changelog
uses: TriPSs/conventional-changelog-action@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-on-empty: true
tag-prefix: 'v'
# Update Cargo.toml [package].version directly
version-file: |
crates/codex_native/Cargo.toml:package.version
# Update Python __version__ via a small pre-commit script
pre-commit: scripts/update_version_py.cjs
output-file: CHANGELOG.md
release-count: 0
git-user-name: github-actions[bot]
git-user-email: 41898282+github-actions[bot]@users.noreply.github.com
- name: Create GitHub Release
if: ${{ steps.changelog.outputs.skipped == 'false' }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.changelog.outputs.tag }}
name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
generate_release_notes: false