Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

gha-trigger/start-action

Repository files navigation

start-action

GitHub Actions for gha-trigger

What does this action do?

Example

on:
  workflow_dispatch:
    inputs:
      data:
        required: true
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: gha-trigger/start-action@main
        with:
          data: ${{inputs.data}}
          app_id: ${{secrets.APP_ID}}
          app_private_key: ${{secrets.APP_PRIVATE_KEY}}

Inputs

Required

  • data: gha-trigger's workflow dispatch input
  • app_id: GitHub App ID
  • app_private_key: GitHub App Private Key

Optional

  • main_repo_checkout_fetch_depth
  • main_repo_checkout_lfs
  • main_repo_checkout_submodules
  • enable_ci_repo_checkout
  • ci_repo_checkout_path
  • ci_repo_checkout_ref
  • ci_repo_checkout_fetch_depth
  • ci_repo_checkout_lfs
  • ci_repo_checkout_submodules
  • start_workflow

Outputs

  • github_app_token: GitHub App's Access Token

Environment Variables

Environment Variables are set by gha-trigger/set-env-action.

Update commit statuses per workflow

Please see Update commit statuses per workflow.

LICENSE

MIT