Skip to content

Let the workflows use the repository's own name - #34

Merged
flemming-n-larsen merged 2 commits into
mainfrom
share-workflow-repository-name
Oct 28, 2026
Merged

flemming-n-larsen merged 2 commits into
mainfrom
share-workflow-repository-name

Conversation

@flemming-n-larsen

@flemming-n-larsen flemming-n-larsen commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The workflows hard-coded two things that belong to this repository: the name rumble-bots when requesting the GitHub App token, and, in catalog verification, the names of the moderator and publisher Apps. They now use the name of the repository they run in, and the App names come from the optional repository variables RUMBLE_MODERATOR_LOGIN and RUMBLE_PUBLISHER_LOGIN, falling back to the current live Apps when unset.

Nothing changes for this repository: the name resolves to rumble-bots, no variable is set here, and the Apps, permissions and secrets stay the same. The files are now identical to the ones running in the test copy rumble-bots-test, where each App token was checked to reach only that repository and where a submission, its automatic merge and its catalog pull request were run end to end. Without the second change, the test publisher App is rejected as "not a publisher-created catalog PR".

Because .github/ and moderation/ are code-owned by the moderators, this needs a moderator review.

@flemming-n-larsen
flemming-n-larsen requested a review from a team as a code owner October 27, 2026 23:20
@tank-royale-rumble-moderator

Copy link
Copy Markdown
Contributor

@robocode-dev/rumble-moderators Moderation needs your decision for 3ff85d590319: Non-bot or protected file changed: .github/workflows/manual-moderation.yml

The required check stays pending. After reviewing, use /moderation approve <reason> or request changes.

@tank-royale-rumble-moderator

Copy link
Copy Markdown
Contributor

@robocode-dev/rumble-moderators Moderation needs your decision for e9ce8a562e5d: Non-bot or protected file changed: .github/workflows/manual-moderation.yml

The required check stays pending. After reviewing, use /moderation approve <reason> or request changes.

@flemming-n-larsen
flemming-n-larsen merged commit 171aee2 into main Oct 28, 2026
3 of 4 checks passed
@flemming-n-larsen
flemming-n-larsen deleted the share-workflow-repository-name branch October 28, 2026 17:38
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