BUILD-11459: Add update-release-channel composite action skeleton#273
Conversation
There was a problem hiding this comment.
Pull request overview
Skeleton for a new update-release-channel composite action that will eventually write release channel pointer JSON files to S3. This PR establishes the inputs/outputs contract and a dry-run-capable invocation path, with the actual S3 write logic deferred to a follow-up.
Changes:
- Add
update-release-channel/action.ymldefining inputs (version,channel,prefix,product,dryRun), outputs (bucket,key,etag), and steps for action path resolution, Vault (gated on non-dry-run), and the write step. - Add
update-release-channel/scripts/write_channel.shas a stub that validates env vars, resolves bucket/key, and writes placeholder outputs to$GITHUB_OUTPUT.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| update-release-channel/action.yml | New composite action defining inputs/outputs and steps (action path, Vault, write). |
| update-release-channel/scripts/write_channel.sh | Stub script resolving inputs and emitting placeholder outputs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a2794c6 to
5439e45
Compare
5439e45 to
2dcd19c
Compare
julien-carsique-sonarsource
left a comment
There was a problem hiding this comment.
The update-release-channel/scripts/write_channel.sh may be moved to update-release-channel/write_channel.sh unless you expect a lot of files. The usage in this repo is the action file and the script file.
2dcd19c to
24eb515
Compare
|
@julien-carsique-sonarsource good catch — moved |
Adds the action.yml + write_channel.sh stub at update-release-channel/. Dry-run mode skips the Vault step and writes placeholder bucket/key/etag to GITHUB_OUTPUT so the action is invokable end-to-end before the real S3 write logic lands.
24eb515 to
51de70d
Compare
|
Code Review ✅ Approved 1 resolved / 1 findingsAdds the ✅ 1 resolved✅ Edge Case: No validation of
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar



BUILD-11459
Skeleton for the new
update-release-channelcomposite action. Ships the inputs/outputs contract and the dry-run path so the action is invokable end-to-end before the real S3 write logic is added.Contents
update-release-channel/action.yml— composite action with inputsversion(required),channel,prefix,product,dryRun; outputsbucket,key,etag.update-release-channel/scripts/write_channel.sh— resolves inputs, echoes them, and writes placeholderbucket/key/etagto$GITHUB_OUTPUT.Behaviour
SonarSource/vault-action-wrapper@c154b4a417b51cb98dd71137f49bf20e77c56820, secret pathdevelopment/aws/sts/downloads) is gated byif: inputs.dryRun != 'true', so the action can be invoked withoutid-token: writein dry-run.Layout
Action lives at
update-release-channel/(repo root), matching the existingupdate-release-channel/schema/directory and the convention used by other actions in this repo (promote/,build-gradle/, etc.).