Skip to content

chore: add claude workflow#9692

Merged
sissbruecker merged 5 commits into
mainfrom
chore/claude-workflow
Jul 10, 2026
Merged

chore: add claude workflow#9692
sissbruecker merged 5 commits into
mainfrom
chore/claude-workflow

Conversation

@sissbruecker

Copy link
Copy Markdown
Contributor

Adds a GitHub actions workflow for running Claude Code in CI. This allows to tag @claude in a comment on either an issue or PR and assign it an arbitrary task ("investigate this issue", "fix this bug", "implement this", "review this PR").

  • The workflow triggers for comments on either issues or PRs
  • The workflow is skipped, as in it does not even start a runner, when the comment does not tag @claude or if the comment author is not a maintainer.
  • Grants minimal workflow permissions. It provides id-token: write, which the github-claude-action uses to create a short-lived GitHub token through the Claude Github app installed in this repo. Claude itself then runs with the GitHub app token rather than the workflow token. The app token is revoked automatically after the workflow.
  • Claude is given a restricted set of tools to use. These may not be sufficient for all tasks yet and might need tuning. Running with full permissions would require additional work to not provide an Anthropic API key to the workflow and hide the GitHub workflow token from the Claude process.
  • It includes an additional system prompt to reference web-components and flow checkouts that it can use for research.
  • It adds a custom prompt when tagging @claude in a reply to an inline PR comment, so that Claude can scope its work to the specific comment, rather than all of them.
  • A summary step collects and prints info about the Claude session and any permission issues that it ran into when calling tools. An additional step allows storing the full session JSON as an artifact. Can be enabled with a repo variable to debug issues but is disabled by default.

@sissbruecker sissbruecker marked this pull request as ready for review July 9, 2026 07:48
@sonarqubecloud

Copy link
Copy Markdown

@sissbruecker sissbruecker added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 6c2510d Jul 10, 2026
26 checks passed
@sissbruecker sissbruecker deleted the chore/claude-workflow branch July 10, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants