Example workflows for Forgejo Actions
| .forgejo/workflows | ||
| .editorconfig | ||
| .markdownlint-cli2.yaml | ||
| .markdownlint.yaml | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .prettierrc.json | ||
| .yamllint.yaml | ||
| Containerfile | ||
| editoconfig-checker.json | ||
| LICENSE.md | ||
| README.md | ||
| renovate.json | ||
| script.sh | ||
Forgejo Actions Examples
simple
A basic "Hello world" workflow showcasing how to use Forgejo Actions.
docker-build
Runs on docker, which uses the docker:dind image.
This allows running Docker commands inside the workflow.
The example checks out the repo contents (nodejs is required to use the action) and then streams the contents via stdin to the Docker daemon.
This option allows to run commands as in docker run, which cannot be executed directly as it would be missing the repository contents.
Adding these via -v is not possible as the Docker daemon is running in a separate container.
actions
Showcases how to use predefined Forgejo Actions.
The default actions URL is https://data.forgejo.org/.
GitHub Actions can also be used by prefixing the action with https://github.com/.