Claude Action#37
Conversation
|
We'll be able to have this workflow somewhere and have just link to this in repositores? It would be good to be able edit this independently on repos |
| // Create label if it doesn't exist yet | ||
| try { | ||
| await github.rest.issues.createLabel({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| name: 'claude:done', | ||
| color: '7057ff', | ||
| description: 'Already processed by Claude' | ||
| }); | ||
| } catch (e) { | ||
| // Label already exists, ignore | ||
| } |
There was a problem hiding this comment.
This is just safety check. For store teams - we will be able to add it to parent repo and Lukas's actor will sync lables across all sotre repos. For prof services, we dont have something like that yet. And dont to do it probably. So I would at least comment this out - or delete it, after we decide we want to use this label arcoss repositories - I would like to use it everywhere. It also check that workflow ran correctly.
|
Vladimir Zahajsky (@v-zahajsky) PR and issues creation ready. |
|
also, action has a bug where it randomly crashes. |
Base action for Claude to respond within issues and PRs.
It can do changes in branches and then provides a 1 click PR creation. Got rid of the zenhub stuff(check first commit) since it seems somewhat orthogonal to the claude stuff and assumed that claude actually created a PR when handling an issue.
This is completely based off of Vladimir Zahajsky (@v-zahajsky)'s work at amazon.
There is no way of testing it here since claude's action enforces the PR's action to match action in the default branch. So there is no way to use the new action within a PR.
Tested it at https://github.com/apify-store/test-repo