Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Claude settings updates #9

Claude settings updates

Claude settings updates #9

Workflow file for this run

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 }}