Skip to content

Commit

Permalink
fix: conflicts between main and next
Browse files Browse the repository at this point in the history
acodeninja committed Jan 28, 2025
2 parents 35c7c59 + c587c8f commit a210536
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: 📋 publish release

run-name: 📋 @${{ github.triggering_actor }} is publishing a release

on:
workflow_run:
workflows:
- "🔬 quality checks"
branches:
- main
- next
types:
- completed

jobs:
publish-release:
name: 📋 publish release
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: asdf-vm/actions/install@v3
- run: npm clean-install
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a210536

Please sign in to comment.