anthropics / anthropics/claude-code-action

The bump-claude-code-version.yml workflow is updating the wrong action.yml file

Aperta
#349 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug p3
Lingua principale
TypeScript
Stelle
8.9k
Fork
2.1k
Merge medio
3g 9h
PR unite (30g)
10

Descrizione

**Describe the bug**

The [bump-claude-code-version.yml](https://github.com/anthropics/claude-code-action/blob/7c5a98d59d2464ae73f453c3e649f5b813374481/.github/workflows/bump-claude-code-version.yml) workflow is only updating base-action/action.yml but not the root action.yml file. Both files should be updated to maintain consistency.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '.github/workflows/bump-claude-code-version.yml'
2. Check the workflow configuration
3. Notice it only targets 'base-action/action.yml'
4. See that version bumps don't affect the root action.yml file
5. Observe version inconsistency between the two action.yml files

**Expected behavior**
The bump version workflow should update both the root `action.yml` file AND the `base-action/action.yml` file to ensure version consistency across the entire action.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Workflow yml file**
If it's not sensitive, consider including a paste of your full Claude workflow.yml file.

**API Provider**

[x] Anthropic First-Party API (default)
[x] AWS Bedrock
[x] GCP Vertex

**Additional context**
The current bump version workflow is incomplete because it only updates one of the two action.yml files, which means:

Version bumps create inconsistency between root action.yml and base-action/action.yml
The root action.yml file retains outdated version references
This could lead to users getting different claude-code versions depending on which action.yml file is being referenced
Both files should maintain the same claude-code version for consistency

The workflow should be modified to update BOTH the root action.yml file AND the base-action/action.yml file to ensure that version bumps are properly reflected across all action files.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.