diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index e58bfed3..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Release - -on: - workflow_dispatch: - inputs: - bump: - description: 'Version bump type' - required: true - type: choice - default: patch - options: - - patch - - minor - - major - -permissions: - contents: write - issues: write - pull-requests: write - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.RELEASE_TOKEN }} - - - uses: actions/setup-node@v4 - with: - node-version: '20' - - - uses: oven-sh/setup-bun@v2 - - - name: Install dependencies - run: bun install --frozen-lockfile - - - name: Configure git - run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - - - name: Run release-it - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} - run: npx release-it ${{ inputs.bump }} --ci