Skip to content

ci: set up CI for the .github repo #12

Closed

Description

@uniqueg

Summary

Set up the .github repo so it can host shared composite actions under actions/<name>/ that other repos in the org pin by SHA. This must be in place before the first action is added.

Tasks

  • CI workflow .github/workflows/ci.yml (name: CI), with no paths: filters, containing:

    • lint (Lint): actionlint on all workflows and action.yml files (also zizmor, if we adopt it);
    • test (Test): tests of each composite action. A job calls ./actions/<name> with fixtures (for example, good and bad PR titles, gate input matrices, a scan of a tiny image). Each later action PR adds its own tests here;
    • passed (CI passed): the gate, with needs: on every other job and if: always(). It fails if any needed job failed or was cancelled.
  • Ruleset on the default branch that requires only CI passed (source: GitHub Actions). A maintainer has to switch it on after the check has reported once.

  • Dependabot dependabot.yml: the github-actions ecosystem with directories covering / and every actions/* folder, grouped. Every new action has to add its folder here.

  • CODEOWNERS for actions/ and .github/workflows/.

  • CodeQL default setup (language actions).

  • Tag and release process:

    • signed, annotated semver tags vMAJOR.MINOR.PATCH;
    • GitHub releases with immutable releases switched on;
    • release notes in the org's standard format;
    • no moving major tags (v1), because callers pin SHAs and Dependabot needs exact tags to bump @<sha> # vX.Y.Z;
    • breaking changes (new required inputs, changed check semantics) only in a major version, and the release notes say what callers have to change.

    Document the process in the repo's README or a RELEASING.md.

Acceptance criteria

  • CI passed reports on PRs to the default branch, and the ruleset requires it.
  • Dependabot opens PRs for pins in workflows and in actions/*.
  • The release process is documented. The first tag (v1.0.0) is cut once the first action lands, not in this issue.

Part of the parent issue on sharing workflow steps as composite actions.

Activity

  1. added
    priority: medium
    status: triage
    type: ci / cd
    workload: days
    on Oct 27, 2026
  2. removed
    status: triage
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: ci / cdworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions