Revert "fix: auto configuration"

This reverts commit f34bbf509f.
This commit is contained in:
Aman Varshney
2025-08-15 15:00:24 +05:30
parent ac1067ab23
commit 6ec497695d
4 changed files with 5 additions and 62 deletions

18
.autorc
View File

@@ -8,12 +8,7 @@
}
],
"all-contributors",
[
"conventional-commits",
{
"defaultReleaseType": "patch"
}
],
"conventional-commits",
"first-time-contributor",
"released"
],
@@ -22,23 +17,12 @@
"name": "Aman Varshney",
"email": "amanvarshney.work@gmail.com",
"baseBranch": "main",
"onlyPublishWithReleaseLabel": false,
"labels": [
{
"name": "skip-release",
"changelogTitle": "⚠️ Pushed to `main`",
"description": "Skip a release and only update the changelog",
"releaseType": "skip"
},
{
"name": "internal",
"changelogTitle": "🏠 Internal",
"releaseType": "patch"
},
{
"name": "documentation",
"changelogTitle": "📝 Documentation",
"releaseType": "patch"
}
]
}

View File

@@ -1,35 +0,0 @@
name: Canary Release
on:
pull_request:
types: [opened, synchronize]
jobs:
canary:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Build CLI
run: bun run build:cli
- name: Create Canary Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
BTS_TELEMETRY: 1
run: bun auto canary

View File

@@ -4,6 +4,7 @@ on:
push:
branches:
- main
pull_request:
jobs:
release:
@@ -12,14 +13,9 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare repository
run: |
git fetch --unshallow --tags
git checkout main
run: git fetch --unshallow --tags
- name: Setup Bun
uses: oven-sh/setup-bun@v2

View File

@@ -5,13 +5,11 @@
"publish": {
"conventionalCommits": true,
"message": "chore(release): publish",
"verifyAccess": false,
"allowBranch": ["main"]
"verifyAccess": false
},
"version": {
"conventionalCommits": true,
"message": "chore(release): version",
"allowBranch": ["main"]
"message": "chore(release): version"
}
},
"packages": [