Repository navigation
Add sample metadata and samples index release - #21
Open
Anton Zheng (AntonZheng) wants to merge 1 commit into
Open
Anton Zheng (AntonZheng) wants to merge 1 commit into
Anton Zheng (AntonZheng) wants to merge 1 commit into
Conversation
Anton Zheng (AntonZheng)
force-pushed
the
antonzheng-microsoft-samples-index-release
branch
2 times, most recently
from
November 24, 2026 21:58
3bb08c8 to
9e11d0c
Compare
Anton Zheng (AntonZheng)
force-pushed
the
antonzheng-microsoft-samples-index-release
branch
from
November 24, 2026 22:03
9e11d0c to
1b192fb
Compare
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
sample.jsonto each JS sample and a script that bundles all samples intosamples-index.json, so the portal samples gallery can pull samples from here instead of copying them by hand.sample.schema.jsondefines the metadata. Category is optional and left unset for now.scripts/build-samples-index.mjsvalidates the samples and builds the index.validate-samples.ymlruns the script on PRs.release-samples.ymlpublishes the index as a release on merge to main: https://github.com/Azure/EdgeActionsSamples/releases/latest/download/samples-index.jsonTested the release workflow from this branch with a temporary trigger. The published file matched a local build, and the test release has been deleted.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
1b192fb4376364a459210fa024ee80db2a0fe25e↑ Release workflow ran on GitHub from a temporary branch trigger; the published asset matched the local build.
↓ Publish step was simplified to a single gh release create after that run; reruns of an existing release will fail and need the release deleted first.