No description
Find a file
Jeanne Franco 98766f394f
Merge pull request #15 from hashicorp/compliance/update-headers
[IND-4227] [COMPLIANCE] Update Copyright Headers
2026-01-05 15:33:11 -08:00
.github [Compliance] - PR Template Changes Required (#14) 2025-09-16 15:16:17 -07:00
META.d [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:01:46 +00:00
scripts [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:01:46 +00:00
action.yml [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:01:46 +00:00
CHANGELOG.md Add changelog and mpl license 2022-03-23 12:36:39 +00:00
CODEOWNERS Add repo metadata (#13) 2025-08-15 16:40:09 -07:00
LICENSE [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:01:46 +00:00
README.md Add optional product-repo input 2023-06-23 18:37:27 +01:00

actions-hc-releases-create-metadata

GitHub action for generating and publishing release metadata using hc-releases.

Usage

Params

Parameter Description Required Default Type
private-tools-token Token with permission to download bob and hc-releases Yes - string
product-name Product name Yes - string
version Product version Yes - string
hc-releases-host hc releases host Yes - string
hc-releases-key hc releases api key Yes - string
metadata-file Release hcl metadata-file (will use project-dir as the base dir) No .release/release-metadata.hcl string
changelog Add changelog URL to the release metadata No 'true' string
artifact-dir Directory containing release artifacts No 'dist' string
build-artifacts (Deprecated) Build artifact file extensions - space separated list. These files will get added to the build metadata No 'zip' string
product-repo Org-qualified product repo if not the same as the repo running the action, e.g. "hashicorp/vault". No '' string

Example Usage

	-
	name: Create Release metadata
	uses: hashicorp/actions-hc-releases-create-metadata@v1
	with:
		private-tools-token: "${{ secrets.PRIVATE_TOOLS_GITHUB_TOKEN }}"
		product-name: "terraform-ls"
		version: "${{ github.ref_name }}"
		hc-releases-host: "${{ secrets.HC_RELEASES_HOST_STAGING }}"
		hc-releases-key: "${{ secrets.HC_RELEASES_KEY_STAGING }}"
		changelog: "false"