1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00

Remove release workflow (#10)

The release workflow is not needed when creating releases through
GitHub's UI. The workflow was failing because:

1. Creating a release in GitHub UI automatically creates the tag
2. The tag creation triggers the workflow
3. The workflow tries to create a release that already exists

Since releases are being created manually through the UI, this
workflow adds no value and only causes confusion with failures.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2025-07-30 08:45:42 -04:00 committed by GitHub
parent 75baff3043
commit a627281753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,46 +0,0 @@
name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
## What's Changed
See the [commit history](https://github.com/${{ github.repository }}/compare/${{ github.event.before }}...${{ github.ref }}) for details.
## Usage
```yaml
- uses: ${{ github.repository }}@${{ github.ref }}
```
draft: false
prerelease: false