Skip to content

kryota-dev/actions

Repository files navigation

English | 日本語

actions

kryota-dev/actions is a repository that centrally manages reusable GitHub Actions (Reusable Workflows and Composite Actions).

Overview

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.

Usage

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:
      # secrets

Specify the version using a major tag (e.g., v1) or a full version tag (e.g., v1.0.0).

Composite Actions

To reference a Composite Action from another repository, use the following format:

steps:
  - uses: kryota-dev/actions/.github/actions/{action-name}@vX
    with:
      # inputs

Specify 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 the steps: level. Composite Actions run as steps within the calling job, enabling more fine-grained reuse.

Available Workflows & Actions

Development

ADR (Architecture Decision Records)

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.

Workflow Security Policy

All uses: references are pinned to full commit SHAs (40 characters):

uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

SHA pinning is automatically verified in CI by ghalint and zizmor, and automatically updated by Renovate Bot.

Manual Setup Required

The following settings must be configured separately via the repository's Web UI or external services:

  1. APP_TOKEN secret: Add a PAT in Settings > Secrets and variables > Actions (requires repo and workflow scopes)
  2. Renovate Bot installation: Install Renovate GitHub App on the repository
  3. Enable Dependabot Alerts: Enable in Settings > Security > Dependabot alerts

About

GitHub Actions Reusable Workflows and Composite Actions

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors