Shared reusable Forgejo Actions workflows
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-01 21:10:08 -05:00
.forgejo/workflows feat(ci): push images to apoci only for a new version so peers do not mirror every rebuild 2026-12-01 21:10:08 -05:00
.renovaterc.json fix(ci): reference ci-toolbox by tag, never digest, since in-place rebuilds drop the old digest from the registry 2026-10-28 11:07:00 -04:00
README.md chore(pr-review): retire pr-review.yaml and its rules template, kritika reviews PRs now 2026-11-16 12:23:40 -05:00

forgejo-workflows

Shared reusable Forgejo Actions workflows for the repos on git.dcunha.io.

Each consuming repo keeps a thin caller in .forgejo/workflows/ that owns the triggers and concurrency, and calls a workflow here by commit:

on:
  pull_request:

jobs:
  labeler:
    uses: Exikle/forgejo-workflows/.forgejo/workflows/labeler.yaml@<sha>
    secrets: inherit
  • Pin by commit, never @main. Renovate bumps the pin through the forgejo-workflows manager in exikle/renovate-config. Those pin bumps are grouped into one PR per repo and merge on their own, so a change merged here reaches every caller without a second review.
  • Omit runs-on on the calling job so Forgejo expands the called jobs into the run.
  • secrets: inherit passes the caller's secrets through; nothing here holds a secret, which is why this repo can be public — Forgejo only resolves reusable workflows from public repos.
  • Inside a called workflow, forgejo.event, forgejo.repository and actions/checkout all refer to the calling repo.

Workflows

Workflow Does Inputs
labeler.yaml Labels a pull request none
labels-sync.yaml Syncs the repo's labels none
oci-push.yaml Pushes, signs and verifies a Flux artifact, then pings Flux registry-host, forgejo-oci-url, registry-oci-url, path
container-pull-request.yaml Lints, and builds the apps a pull request changed none
container-release.yaml Builds, pushes and signs the apps a push changed event-name, app, release, no-cache
container-deprecate.yaml Opens and merges a PR that removes an app app, reason
container-vulnerability-scan.yaml Scans every published image with grype severity

Only oci-push.yaml, labeler.yaml and labels-sync.yaml serve more than one repo. The container-* workflows serve Exikle/containers only; they live here so that repo keeps thin callers. grep -rn 'forgejo-workflows/' .forgejo/workflows in a repo shows what it calls.