docs: document targeting a step's Git resource (git_resources) at release creation#3248
Merged
Conversation
|
Pull request environment is available at https://stoctodocspr3248.z22.web.core.windows.net. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
Adds a section to the build-server-plugin release-creation page covering the git_resources input (create-release GitHub Action v4.2.0+) and the CLI --git-resource flag, for targeting a step's Git resource branch/tag (e.g. the Update Argo CD Application Manifests source) from CI. Clarifies it is distinct from the project's Git Reference/Commit and is resolved at release-creation time (SF-2251).
NickJosevski
force-pushed
the
sf2251-git-resources-docs
branch
from
July 21, 2026 08:54
9d44ee0 to
c7f9a5a
Compare
NickJosevski
enabled auto-merge (rebase)
July 21, 2026 08:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Targeting a step's Git resource section to the build-server-plugin release-creation page, alongside the existing per-build-server Git Reference / Git Commit guidance.
Why: the create-release GitHub Action shipped a
git_resourcesinput inv4.2.0, and the CLI has--git-resource, but there was no public doc for choosing a step's Git resource branch/tag at release creation (e.g. deploying a feature branch of an Update Argo CD Application Manifests source). Customer request SF-2251.Content:
git_resourcesis distinct from the project's own Git Reference/Commit and is resolved at release-creation time (so it can't be a deployment variable).github.head_ref || github.ref_nameper-event pattern.Related: create-release-action (feature) + (README), api-client.ts