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' default: 'next'
type: string type: string
concurrency: pre-release-${{ inputs.branch || github.ref_name }} concurrency: pre-release-${{ github.ref_name }}
jobs: jobs:
rc: rc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Only allow pre-releases on non-main branches # 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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@@ -66,5 +66,5 @@ jobs:
uses: actions-js/push@master uses: actions-js/push@master
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ inputs.branch || github.ref }} branch: ${{ inputs.branch || github.ref_name }}
message: "chore: rc version bump" message: "chore: rc version bump"

View File

@@ -49,7 +49,7 @@ jobs:
echo "" echo ""
echo "To fix this, run the following commands locally:" echo "To fix this, run the following commands locally:"
echo " npx changeset pre exit" 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 commit -m 'chore: exit pre-release mode'"
echo " git push origin main" echo " git push origin main"
echo "" echo ""