This repository contains several GitHub Actions and Workflows that help with the GitHub Actions for other repositories of OpenTTD.
- annotation-check: Check if any previous job in a workflow has any annotation.
- checkout-pull-request: Checkout all commits of a Pull Request.
Example of how to use a reusing workflows:
job:
uses: OpenTTD/actions/.github/workflows/rw-<workflow>.yml@v4
with:
# See each workflow for their parameters.
- Annotation Check: Checks if any of the earlier jobs have any annotation.
- Baseset - Build: Build an OpenTTD baseset repository.
- Baseset - Metadata: Detects metadata for an OpenTTD baseset repository.
- CDN - upload: Upload the content of an artifact to the CDN.
- Docker - Build: Build a new Docker container, multi-arch, and push to GitHub Container Registry.
- Entry - Preview - Docker/Nomad: Entrypoint for previewing projects using Docker and Nomad
- Entry - Release - Baseset: Entrypoint for releasing baseset projects (OpenGFX, OpenSFX, OpenMSX)
- Entry - Release - Docker/Nomad: Entrypoint for releasing projects using Docker and Nomad
- Entry - Testing - Baseset: Entrypoint for testing baseset projects (OpenGFX, OpenSFX, OpenMSX)
- Entry - Testing - Docker/Python: Entrypoint for testing projects using Docker and Python
- Nomad - Deploy: Deploy a new service no Nomad.
- Nomad - Reload: Triggers the reload triggers of a service on Nomad.
- Preview - Label: Ensure this PR is the only one with a preview label.
- Python - Black: Runs "black" over the code.
- Python - CodeQL: Runs "CodeQL" over the code.
- Python - Flake8: Runs "flake8" over the code.
- Symbols - upload: Upload the content of an artifact to the Symbol Server.