No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tomasz Sieprawski a70266abd0
All checks were successful
Check Shellcheck / shellcheck (push) Successful in 5s
Check Actionlint / actionlint (push) Successful in 6s
Check Markdownlint / markdownlint (push) Successful in 9s
Check REUSE / reuse (push) Successful in 15s
Check Shfmt / shfmt (push) Successful in 5s
Check Typos / typos (push) Successful in 6s
Check Taplo / taplo (push) Successful in 6s
Check Yamllint / yamllint (push) Successful in 6s
Test Integration Checkout / integration-checkout (push) Successful in 1m40s
docs: show required checkout repository
-
.forgejo fix: reject missing checkout repository -
.github chore: scaffold forgejo-actions repo baseline -
docs docs: show required checkout repository -
LICENSES chore: scaffold forgejo-actions repo baseline -
scripts feat: add authenticated checkout action with integration coverage -
tests/fixtures/checkout-basic/.forgejo/workflows fix: require explicit checkout repository -
vendor feat: add authenticated checkout action with integration coverage -
.gitignore chore: scaffold forgejo-actions repo baseline -
.gitmodules feat: add authenticated checkout action with integration coverage -
.markdownlint-cli2.yaml chore: scaffold forgejo-actions repo baseline -
.typos.toml chore: scaffold forgejo-actions repo baseline -
.yamllint.yaml chore: scaffold forgejo-actions repo baseline -
action.yaml fix: reject missing checkout repository -
check.sh test: keep checkout action implementations synchronized -
README.md feat: add authenticated checkout action with integration coverage -
REUSE.toml chore: scaffold forgejo-actions repo baseline -

forgejo-actions

Reusable Forgejo workflow repository for local Forgejo-hosted projects.

Purpose

This repository will hold callable workflows and related validation for repeated CI patterns used across repositories hosted on code.sieprawski.pl.

Initial targets:

  • authenticated checkout of in-house repositories
  • Alpine and Debian package bootstrap helpers
  • Docker image build, test, and publish workflows
  • end-to-end validation of reusable workflows against a child Forgejo instance

Layout

.forgejo/workflows/    Forgejo workflow entrypoints and checks
LICENSES/              REUSE license texts
check.sh               Baseline repository validation script

Baseline Quality Gates

The repository starts with separate check workflows that verify:

  • REUSE compliance
  • Forgejo workflow structure with actionlint, configured for the local gator runner label
  • YAML formatting and structure with yamllint
  • shell correctness with shellcheck
  • shell formatting with shfmt
  • TOML formatting with taplo
  • Markdown style with markdownlint-cli2
  • spelling with typos

This baseline is intended to keep the repository green before the reusable workflow implementation issues land.

Available Workflows

  • .forgejo/actions/checkout: authenticated repository checkout with optional submodules and configurable auth mode
  • .forgejo/workflows/test-integration-checkout.yaml: child-Forgejo integration test for the checkout action

Documentation

  • docs/checkout.md: how to use the reusable checkout action, including examples

Integration Testing

  • scripts/test-integration-checkout.sh: local child-Forgejo integration test entrypoint
  • tests/fixtures/checkout-basic: fixture repository used by the CI integration workflow

Notes

  • callers should prefer pinning workflow usage to a commit SHA or stable tag instead of a moving branch
  • examples in this repository are intended to stay useful later as fixtures for integration tests