Skip to content

feat: add enforcement actions - #8

Merged
oliverbaehler merged 1 commit into
mainfrom
fix/overwrite
Jun 10, 2026
Merged

feat: add enforcement actions#8
oliverbaehler merged 1 commit into
mainfrom
fix/overwrite

Conversation

@oliverbaehler

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
Copilot AI review requested due to automatic review settings June 10, 2026 13:35
@oliverbaehler
oliverbaehler merged commit 5e48d07 into main Jun 10, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the release portion of the GitHub Actions pipeline to publish Artifact Hub metadata by working directly off the artifacthub branch and generating a createdAt timestamp at runtime.

Changes:

  • Clone the artifacthub branch into a temp workdir and update artifacthub-pkg.yml in-place instead of creating/checking out an orphan branch.
  • Set createdAt during the workflow run and add an explicit check that artifacthub-pkg.yml exists on the artifacthub branch.
  • Remove the unused CREATED_AT workflow env: wiring.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 112 to +116
TAG="${{ steps.version.outputs.tag }}"
TARBALL="${{ steps.package.outputs.tarball }}"
CHECKSUM="${{ steps.package.outputs.checksum }}"
ARCHIVE_URL="https://github.com/${{ github.repository }}/releases/download/${TAG}/${TARBALL}"
CREATED_AT="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
Comment on lines +120 to +122
git clone --depth 1 --branch artifacthub \
"https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" \
"$WORKDIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants