No description
Find a file
Jeanne Franco ed9cf8b301
Merge pull request #27 from hashicorp/compliance/update-headers
[IND-4227] [COMPLIANCE] Update Copyright Headers
2026-01-05 15:37:41 -08:00
.github [Compliance] - PR Template Changes Required (#25) 2025-09-16 15:00:11 -07:00
META.d [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
.gitignore Update Heimdall metadata (#9) 2023-06-20 10:02:41 -05:00
action.yml [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
LICENSE [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
README.md Update Heimdall metadata (#9) 2023-06-20 10:02:41 -05:00

Persist Metadata Action

Heimdall CI

Persists metadata provided by Common Release Tooling

This is intended for internal HashiCorp use only

Usage

Add the following to your workflow in the jobs stanza:

on:
  repository_dispatch:
    types: "persist-metadata"

jobs:
  persist-metadata:
    runs-on: ubuntu-latest
    steps:
      - name: Persist metadata
        uses: hashicorp/actions-persist-metadata@v1

In reusuable workflows

If your workflow is shared between Common Release Tooling workflows and other product specific workflows using reusable workflows you can add a conditional to skip the job when it is not required.

on: workflow_call

jobs:
  persist-metadata:
    # Common-release-tooling uses `repository_dispatch` to run workflows
    if: github.event_name == 'repository_dispatch'
    runs-on: ubuntu-latest
    steps:
      - name: Persist metadata
        uses: hashicorp/actions-persist-metadata@v1