Skip to content

ci: add PyO3 forward compatibility for Python 3.14 #7

ci: add PyO3 forward compatibility for Python 3.14

ci: add PyO3 forward compatibility for Python 3.14 #7

Workflow file for this run

name: Continuous Deployment

Check failure on line 1 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

(Line: 41, Col: 9): Unexpected value 'uses', (Line: 42, Col: 9): Unexpected value 'with', (Line: 39, Col: 9): Required property is missing: run
on:
workflow_dispatch:
push:
tags:
- 'v*'
release:
types: [published]
jobs:
generate-changelog:
name: Generate changelog
runs-on: ubuntu-22.04
permissions:
contents: write
outputs:
release_body: ${{ steps.git-cliff.outputs.content }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate a changelog
uses: orhun/git-cliff-action@main
id: git-cliff
with:
config: pyproject.toml
args: -vv --latest --strip header
- name: Fetch latest main
run: git fetch origin main
- name: Create worktree for changelog
run: git worktree add worktree-changelog origin/main
- name: Generate changelog in worktree
working-directory: worktree-changelog
uses: orhun/git-cliff-action@main
with:
config: pyproject.toml
args: -vv --latest --strip header --output docs/changelog.rst
- name: Commit and push changelog
working-directory: worktree-changelog
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add docs/changelog.rst
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "docs: update changelog [skip ci]"
git push origin HEAD:main
fi
- name: Cleanup worktree
if: always()
run: git worktree remove worktree-changelog || true