avm-release-branch
Skill743 starsChanged 4 days agoMITView on GitHub
Use for Bicep external fork PRs that need credentialed E2E tests, same-repository release-branch handoffs, avm release-branch, and recovery from an interrupted handoff.
In this repository2 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- avm-child-module-publishingSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use the MAR-installed Avm.Authoring module from the Bicep prerequisites and the existing authenticated gh session for github.com.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bicep fork PR release-branch handoff
Credentialed E2E testing of external fork PRs requires a same-repository release branch. Labels on a fork PR never grant deployment credentials; ordinary fork checks do not require this handoff.
Review before invoking
An authorized Microsoft FTE with write access to Azure/bicep-registry-modules must first review all code, workflows, and dependencies on the current fork PR head that could access credentials. Do not infer review or authorization from labels. The command cannot verify which commit a human reviewed. Restrict write access to the release branch and re-review later changes before allowing them to use credentials.
Use the MAR-installed Avm.Authoring module from the Bicep prerequisites and the existing authenticated gh session for github.com. The external fork PR must be open and ready for review; the upstream repository must be a non-fork with default branch main.
Run the handoff
Replace 123 with the reviewed fork PR number:
avm release-branch `
--repository 'Azure/bicep-registry-modules' `
--pull-request 123This command changes GitHub state. It creates release/fork-pr-<number>-<sha-prefix> from upstream main, retargets the original fork PR, merges its captured head into that release branch, and opens a follow-up PR back to main. It refuses to merge if the fork head changes during handoff. It does not merge the follow-up, publish a release, approve reviews, or bypass branch protections and required checks.
The command does not add labels to the follow-up PR. After review, add PR: Run Required E2E Tests for required scenarios or PR: Run All E2E Tests when optional scenarios are also needed. Inspect actual selected test results and merge gates before merging to main; a label or skipped job is not proof of passing E2E tests.
Interrupted handoffs
A failure can leave a created branch or a retargeted or merged PR behind. Inspect the original PR, release branch, and any follow-up PR before manual recovery; do not blindly rerun.
See the command reference for parameters and preview support.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

