• v4.0.0 13da490bac

    v4.0.0
    Validate workflows / english-comments (push) Skipped
    Validate workflows / validate (push) Successful in 1m5s
    TirSystem/git-workflows: CI / secret-scan (push) Skipped
    TirSystem/git-workflows: CI / validate (push) Skipped
    TirSystem/git-workflows: CI / opengrep (push) Skipped
    TirSystem/git-workflows: CI / release-check (push) Skipped
    TirSystem/git-workflows: CD / release (push) Successful in 6s
    TirSystem/git-workflows: CD / changes (push) Successful in 7s
    TirSystem/git-workflows: CD / wait-for-ci (push) Successful in 2m19s
    TirSystem/git-workflows: CD / sync-milestones (push) Skipped
    TirSystem/git-workflows: CD / sync-metadata (push) Successful in 5s
    TirSystem/git-workflows: CD / publish-wiki (push) Successful in 21s
    Stable

    Tirsvad released this 2026-11-22 12:49:30 +01:00 | 7 commits to main since this release

    4.0.0 - 2026-11-22

    Breaking

    • The six scoped workflows (validate.yml, opengrep.yml, release.yml, sync-milestones.yml, publish-wiki-pages.yml and sync-github-metadata.yml) are removed and replaced by two: ci.yml (CI: secret-scan, then validate, opengrep and release-check) and cd.yml (CD: changes, wait-for-ci, then release, sync-milestones, publish-wiki and sync-metadata, each for its own paths) (ADR-0019). Scoped files are read live from main, so this reaches every repository of the organization at once. The names of the status checks change, and a branch rule that requires an old name by name waits for a check that no longer runs: TirSystem/git-workflows: Validate / * becomes TirSystem/git-workflows: CI / validate (pull_request), OpenGrep / * becomes CI / opengrep (pull_request), Release / * becomes CI / release-check (pull_request) (the pull request check of the changelog), and CI / secret-scan (pull_request) is new; Publish wiki, Sync GitHub mirror metadata and Publish accepted milestones become CD / publish-wiki, CD / sync-metadata and CD / sync-milestones, which are never required. A rule that requires TirSystem/git-workflows: * needs no change. To migrate, run python tools/migrate_required_checks.py add (a dry run; --apply changes) before the release and python tools/migrate_required_checks.py remove after it (guide). The behaviour, the scripts, the secrets and the opt-ins of every job are those of the workflow it replaces. tools/release.py waits for CI / validate (push) instead of Validate / validate (push); in CD the job wait-for-ci does the waiting (600 seconds by default, the repository variable CD_CI_WAIT_SECONDS sets it) and a manual start of CD runs every job, with the milestone sync as a dry run unless dry_run is set to false. The scripts of both files are fetched at v3 until a follow-up moves them to v4.
    • The job sync-metadata of the scoped cd.yml (earlier sync-github-metadata.yml) reads the GitHub token from the secret TOKEN_FOR_GITHUB_REPO instead of PAT_FOR_GITHUB, with no fallback; a run without the new secret stops with [configuration] TOKEN_FOR_GITHUB_REPO is missing or empty. The name follows the framework template (framework/templates/.env.example, v0.25.0), where every token is TOKEN_FOR_<HOST>_<USE>. To migrate, create TOKEN_FOR_GITHUB_REPO in the organization settings (a new token is advised), run the workflow, then delete PAT_FOR_GITHUB. Until this release cd.yml on main also passes PAT_FOR_GITHUB, because the script it fetches at v3 still reads that name; the release removes that line (MIL-022 task 7).

    Added

    • The scoped workflow ci.yml (CI) starts with a credential scan: secret-scan runs a pinned Gitleaks release (tools/secret_scan.py, its SHA-256 checked), reads what a change adds, prints no value and, when it finds a credential, skips the three jobs after it; a finding is accepted in .gitleaks-baseline.json or .gitleaksignore. The scoped workflow cd.yml (CD) is the publishing half (tools/cd_pipeline.py).
    • tools/migrate_required_checks.py moves the required status checks of the branch rules from the names of the six old scoped workflows (Validate / *, OpenGrep / *, Release / *) to the CI / ... names of ci.yml: a dry run by default, the phase add now (the new names next to the old) and the phase remove after the release of 4.0.0, --apply to change; rules with a wildcard or with status checks off are left alone (guides/upgrading.md, guides/repository-settings.md).
    Downloads