GitHub Actions for gha-trigger
- Set Environment Variables by gha-trigger/set-env-action
- Generate GitHub App Token by tibdex/github-app-token
- Set the commit status to
pending
- Checkout Main Repository and CI Repository by actions/checkout
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}}
data
: gha-trigger's workflow dispatch inputapp_id
: GitHub App IDapp_private_key
: GitHub App Private Key
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
github_app_token
: GitHub App's Access Token
Environment Variables are set by gha-trigger/set-env-action.
Please see Update commit statuses per workflow.