mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
chore: temporarily disable base action GitHub release creation (#488)
Commenting out the GitHub release creation step for the base action repository to temporarily pause automatic releases while keeping tag synchronization active. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
52
.github/workflows/release.yml
vendored
52
.github/workflows/release.yml
vendored
@@ -122,35 +122,35 @@ jobs:
|
|||||||
token: ${{ secrets.CLAUDE_CODE_BASE_ACTION_PAT }}
|
token: ${{ secrets.CLAUDE_CODE_BASE_ACTION_PAT }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Create and push tag
|
# - name: Create and push tag
|
||||||
run: |
|
# run: |
|
||||||
next_version="${{ needs.create-release.outputs.next_version }}"
|
# next_version="${{ needs.create-release.outputs.next_version }}"
|
||||||
|
|
||||||
git config user.name "github-actions[bot]"
|
# git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
# git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
# Create the version tag
|
# # Create the version tag
|
||||||
git tag -a "$next_version" -m "Release $next_version - synced from claude-code-action"
|
# git tag -a "$next_version" -m "Release $next_version - synced from claude-code-action"
|
||||||
git push origin "$next_version"
|
# git push origin "$next_version"
|
||||||
|
|
||||||
# Update the beta tag
|
# # Update the beta tag
|
||||||
git tag -fa beta -m "Update beta tag to ${next_version}"
|
# git tag -fa beta -m "Update beta tag to ${next_version}"
|
||||||
git push origin beta --force
|
# git push origin beta --force
|
||||||
|
|
||||||
- name: Create GitHub release
|
# - name: Create GitHub release
|
||||||
env:
|
# env:
|
||||||
GH_TOKEN: ${{ secrets.CLAUDE_CODE_BASE_ACTION_PAT }}
|
# GH_TOKEN: ${{ secrets.CLAUDE_CODE_BASE_ACTION_PAT }}
|
||||||
run: |
|
# run: |
|
||||||
next_version="${{ needs.create-release.outputs.next_version }}"
|
# next_version="${{ needs.create-release.outputs.next_version }}"
|
||||||
|
|
||||||
# Create the release
|
# # Create the release
|
||||||
gh release create "$next_version" \
|
# gh release create "$next_version" \
|
||||||
--repo anthropics/claude-code-base-action \
|
# --repo anthropics/claude-code-base-action \
|
||||||
--title "$next_version" \
|
# --title "$next_version" \
|
||||||
--notes "Release $next_version - synced from anthropics/claude-code-action" \
|
# --notes "Release $next_version - synced from anthropics/claude-code-action" \
|
||||||
--latest=false
|
# --latest=false
|
||||||
|
|
||||||
# Update beta release to be latest
|
# # Update beta release to be latest
|
||||||
gh release edit beta \
|
# gh release edit beta \
|
||||||
--repo anthropics/claude-code-base-action \
|
# --repo anthropics/claude-code-base-action \
|
||||||
--latest
|
# --latest
|
||||||
|
|||||||
Reference in New Issue
Block a user