| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Ports the @claude mention workflow from posit-dev/connect to the open-source repository, adapted for a public repo: - gates triggers on author association (OWNER/MEMBER/COLLABORATOR) - runs on GitHub-hosted runners - drops connect-specific plugin marketplace and toolchain setup - prompt adapted to rstudio conventions (NEWS.md, milestones, labels) Requires CLAUDE_APP_ID, CLAUDE_APP_PEM, and AWS_CLAUDE_ROLE_ARN secrets to be provisioned before the workflow can run.
There was a problem hiding this comment.
Nice, LGTM!
Sorry, something went wrong.
The WORKBENCH_IDE_RELEASE_* org secrets are already shared with this repo and the app is already installed here, so no new app needs provisioning. Drop the actions:read request: no existing workflow asks this app for that permission, and create-github-app-token 422s when the requested set exceeds the installation's grants.
| Back | FazBrowse Home | New Git URL |
Adds an open-source version of the @claude GitHub workflow used in posit-dev/connect. Mentioning @claude in an issue, issue comment, PR review, or review comment runs anthropics/claude-code-action to triage, research, implement changes, and open pull requests.
This is a developer-tooling change with no user-facing impact, so there is no associated issue or NEWS entry.
Adaptations from the connect version
Retained from connect: GitHub App token minting, Bedrock via AWS OIDC (no raw API key), role session name sanitization, claude/<number>-<slug>- branch prefix, progress tracking, opus with haiku fallback, and the locked --allowedTools list.
Setup required before merge
The GitHub App side needs no provisioning. The WORKBENCH_IDE_RELEASE_* org
secrets are already shared with this repo, and the app is already installed here
and writing to it -- it opens the version-bump PRs, and rstudio-pro's
ide-issue-state-sync workflow mints a token scoped to this repo for issue
writes. So the workflow now uses those secrets directly. The one permission that
could not be confirmed against an existing caller is actions: read, so it is
not requested; create-github-app-token returns 422 when the requested set
exceeds the installation's grants. If the app does hold it, restoring
permission-actions: read plus additional_permissions: "actions: read" gives
Claude access to CI logs.
That leaves one secret an admin needs to add:
the same name; the role's trust policy also has to allow this repo. Region
is assumed us-east-2, matching connect.
Until it exists, merging this is safe but inert: gated runs would start and fail
at the assume-role step.
Follow-up (phase 2)
A later PR can teach the workflow to run the front half of the pylon pipeline (refine/research/plan) on request and publish the artifacts to rstudio/rstudio-pro-plans under plans/rstudio/<number>-<slug>/ via a stage PR, matching the existing pwb-dev layout. That needs the App token to span both repos and a decision on whether plans for public OS issues belong in the private plans repo.