chore: apply requested changes
This commit is contained in:
6
.github/workflows/pre-release.yml
vendored
6
.github/workflows/pre-release.yml
vendored
@@ -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"
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user