Skip to content

Merge pull request #290 from pixelbakery/release-please--branches--main #343

Merge pull request #290 from pixelbakery/release-please--branches--main

Merge pull request #290 from pixelbakery/release-please--branches--main #343

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
# 1. Checkout Code
- name: Checkout Code
uses: actions/checkout@v4
# 5. Run Semantic Release
- name: Run Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN || secrets.GITHUB_TOKEN }}
# 6. Commit Updated Changelog (Optional)
- name: Commit Updated Changelog
if: success()
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
git commit -m "chore: update CHANGELOG"
git push