Skip to content

[CI/CD]: Cmd Bot - SRE Requirements - #23

Draft
andrzejSulkowski wants to merge 2 commits into
andrzej-cicd-fix-content-injectionfrom
andrzej-cmd-setup
Draft

[CI/CD]: Cmd Bot - SRE Requirements#23
andrzejSulkowski wants to merge 2 commits into
andrzej-cicd-fix-content-injectionfrom
andrzej-cmd-setup

Conversation

@andrzejSulkowski

@andrzejSulkowski andrzejSulkowski commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Changes

Splits /cmd into a trigger workflow and a dispatched run workflow, so that contributor code never executes in a job that holds the bot credentials (requested in paritytech/devops#5532).

File / job Runs PR code Credentials
cmd.yml (all jobs) no App token in is-org-member; GITHUB_TOKEN elsewhere
cmd-run.yml / before-cmd no GITHUB_TOKEN
cmd-run.yml / cmd yes none; contents: read, rest none
cmd-run.yml / after-cmd no App token, push
cmd-run.yml / finish no GITHUB_TOKEN

@andrzejSulkowski andrzejSulkowski changed the title cmd and cmd-run split [CI/CD]: Cmd Bot - SRE Requirements Aug 20, 2026
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.

1 participant