Skip to content

Claude/custom file extensions 01 lh d3jpyebr ec f34tfrua5y (#129) #285

Claude/custom file extensions 01 lh d3jpyebr ec f34tfrua5y (#129)

Claude/custom file extensions 01 lh d3jpyebr ec f34tfrua5y (#129) #285

Workflow file for this run

name: Automated Release
on:
push:
branches:
- main
workflow_dispatch: # Allow manual triggering
permissions:
contents: write
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
# Only run if the commit is not a release commit (to avoid loops)
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for changelog generation
token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8.15.9
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Run standard-version
run: |
pnpm run release
- name: Push changes and tags
run: |
git push --follow-tags origin main