This repository was archived by the owner on Feb 6, 2026. It is now read-only.
docs: add release notes for v0.8.0, v0.8.1, v0.9.0 #3
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: Auto Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| create-release: | |
| runs-on: ubuntu-latest | |
| # Skip if commit is from the release workflow (avoid loops) | |
| if: "!startsWith(github.event.head_commit.message, 'chore:') && !startsWith(github.event.head_commit.message, 'chore(')" | |
| steps: | |
| # TAP_GITHUB_TOKEN (a PAT) is required here instead of the default GITHUB_TOKEN | |
| # because tag pushes made with GITHUB_TOKEN do not trigger other workflows. | |
| # Without this, the Release workflow would not run when we push the tag. | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.TAP_GITHUB_TOKEN }} | |
| - name: Read version | |
| id: version | |
| run: | | |
| BASE_VERSION=$(cat version.txt | tr -d '\n') | |
| VERSION="v${BASE_VERSION}.${GITHUB_RUN_NUMBER}" | |
| echo "version=$VERSION" >> $GITHUB_OUTPUT | |
| echo "Creating release: $VERSION" | |
| - name: Create and push tag | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git tag ${{ steps.version.outputs.version }} | |
| git push origin ${{ steps.version.outputs.version }} |