No description
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
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
|
- | |
| .forgejo | - | |
| .github | - | |
| docs | - | |
| LICENSES | - | |
| scripts | - | |
| tests/fixtures/checkout-basic/.forgejo/workflows | - | |
| vendor | - | |
| .gitignore | - | |
| .gitmodules | - | |
| .markdownlint-cli2.yaml | - | |
| .typos.toml | - | |
| .yamllint.yaml | - | |
| action.yaml | - | |
| check.sh | - | |
| README.md | - | |
| REUSE.toml | - | |
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 localgatorrunner 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 entrypointtests/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