An OpenWhisk Web Action that resolves a git reference (branch or tag) to the corresponding commit sha.
curl "https://adobeioruntime.net/api/v1/web/helix/helix-services/resolve-git-ref@v1?owner=adobe&repo=helix-resolve-git-ref&ref=main"
For more, see the API documentation.
Deploying Helix Resolve-Git-Ref requires the wsk
command line client, authenticated to a namespace of your choice. For Project Helix, we use the helix
namespace.
All commits to main
that pass the testing will be deployed automatically. All commits to branches that will pass the testing will get commited as /helix-services/resolve-git-ref@ci<num>
and tagged with the CI build number.