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'
|
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"
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 ""
|
||||||
|
|||||||
Reference in New Issue
Block a user