Skip to content

ci: vendor the catalog on a schedule - #16

Merged
peach0x33a merged 1 commit into
masterfrom
chore/catalog-workflow
Nov 16, 2026
Merged

peach0x33a merged 1 commit into
masterfrom
chore/catalog-workflow

Conversation

@peach0x33a

Copy link
Copy Markdown
Owner

Adds .github/workflows/catalog.yml:

  • Runs weekly (Monday 04:42 UTC, after the catalog repo's 04:17 refresh) and on workflow_dispatch.
  • Vendors the catalog with go generate ./internal/app.
  • Runs go vet, go test, and a build before touching anything.
  • If the snapshot changed, opens or updates a chore/catalog PR.

Token

Uses the workflow's built-in secrets.GITHUB_TOKEN, so there is no PAT or secret to create. The trade-off: a GITHUB_TOKEN-authored PR does not trigger the PR checks, which is why the workflow runs vet/test/build itself. The master build and image publish run when the PR is merged.

No change

If the catalog is unchanged, the job exits without a commit or PR.

Run the vendoring step weekly and open a PR when the snapshot changes.
The PR uses the repository's GITHUB_TOKEN, which needs no setup; the
workflow runs vet, test, and a build itself because a GITHUB_TOKEN
authored PR does not trigger the PR checks.
@peach0x33a
peach0x33a merged commit 67dfc69 into master Nov 16, 2026
3 checks passed
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.

1 participant