chore: apply requested changes

This commit is contained in:
Ralph Khreish
2025-08-03 15:39:44 +03:00
parent 041a4970f2
commit 97c1896499
2 changed files with 4 additions and 4 deletions

View File

@@ -9,12 +9,12 @@ on:
default: 'next'
type: string
concurrency: pre-release-${{ inputs.branch || github.ref_name }}
concurrency: pre-release-${{ github.ref_name }}
jobs:
rc:
runs-on: ubuntu-latest
# Only allow pre-releases on non-main branches
if: github.ref != 'refs/heads/main' && (!inputs.branch || inputs.branch != 'main')
if: github.ref != 'refs/heads/main' && inputs.branch != 'main'
steps:
- uses: actions/checkout@v4
with:
@@ -66,5 +66,5 @@ jobs:
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ inputs.branch || github.ref }}
branch: ${{ inputs.branch || github.ref_name }}
message: "chore: rc version bump"

View File

@@ -49,7 +49,7 @@ jobs:
echo ""
echo "To fix this, run the following commands locally:"
echo " npx changeset pre exit"
echo " git add .changeset/pre.json"
echo " git add -u"
echo " git commit -m 'chore: exit pre-release mode'"
echo " git push origin main"
echo ""