Actions
What this solves
You need a Forgejo-friendly replacement for GitHub checkout behavior.
Checkout is often the first compatibility issue because many workflows assume `actions/checkout` is reachable from GitHub.
Actions
You need a Forgejo-friendly replacement for GitHub checkout behavior.
Checkout is more than cloning the repository. Workflows may rely on authentication, submodules, Git LFS, fetch depth, private dependencies, and tags for versioning. Validate those cases before assuming the rest of the workflow is portable.
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- run: git status --short
- run: git describe --tags --alwaysUse full history when release tooling needs tags.
Test submodules and LFS separately from normal source checkout.
Make private dependency credentials available to the runner.
Understand what usually ports from GitHub Actions to Forgejo Actions and what needs testing.
Plan artifact upload and download replacements for Forgejo Actions workflows.
Automate Forgejo with fj, Actions, raw API calls, repository hooks, secrets, and release workflows.