name: Release on: push: tags: - "*" permissions: contents: write jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 with: fetch-depth: 0 - run: git log $(git describe --tags --abbrev=0 HEAD~1)..HEAD --oneline > changelog.txt - uses: softprops/action-gh-release@v2 with: make_latest: true body_path: changelog.txt files: astrolobot.py