English | 日本語
kryota-dev/actions is a repository that centrally manages reusable GitHub Actions (Reusable Workflows and Composite Actions).
This repository centrally manages and publishes GitHub Actions (Reusable Workflows and Composite Actions) commonly used across multiple repositories, eliminating CI/CD configuration duplication and improving quality and maintainability.
To reference a Reusable Workflow from another repository, use the following format:
jobs:
example:
uses: kryota-dev/actions/.github/workflows/{workflow}.yml@vX
with:
# inputs
secrets:
# secretsSpecify the version using a major tag (e.g., v1) or a full version tag (e.g., v1.0.0).
To reference a Composite Action from another repository, use the following format:
steps:
- uses: kryota-dev/actions/.github/actions/{action-name}@vX
with:
# inputsSpecify the version using a major tag (e.g., v1) or a full version tag (e.g., v1.0.0).
Difference from Reusable Workflows: Reusable Workflows are called at the
jobs:level, while Composite Actions are called at thesteps:level. Composite Actions run as steps within the calling job, enabling more fine-grained reuse.
- Reusable Workflows — List and usage of publicly available workflows
- Composite Actions — List and usage of publicly available actions
- Internal CI Workflows — Internal CI workflows for this repository
Design decisions are recorded as ADRs in docs/adr/.
To create a new ADR:
make adr title="ADR title"See docs/adr/ for the list of ADRs.
All uses: references are pinned to full commit SHAs (40 characters):
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4SHA pinning is automatically verified in CI by ghalint and zizmor, and automatically updated by Renovate Bot.
The following settings must be configured separately via the repository's Web UI or external services:
APP_TOKENsecret: Add a PAT in Settings > Secrets and variables > Actions (requiresrepoandworkflowscopes)- Renovate Bot installation: Install Renovate GitHub App on the repository
- Enable Dependabot Alerts: Enable in Settings > Security > Dependabot alerts