Skip to content

Github Action to dispatch a workflow in a separate repository

Notifications You must be signed in to change notification settings

kingandpartners/dispatch-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Dispatch Workflow

Used for dispatching workflows across repositories

Inputs

Input Description Required
token GitHub token that will be used for remote repository Yes
repo Path to your satis configuration file Yes
workflow_id Path to your satis configuration file Yes
ref Branch of repository to dispatch workflow on No
Default = 'main'
inputs Path to your satis configuration file No
Default = '{}'

Outputs

None

Usage

Example .github/workflow/release.yaml

name: Trigger Satis Build

on:
  - release
  - push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: kingandpartners/dispatch-workflow@main
        with:
          token: ${{ secrets.APP_TOKEN }}
          repo: owner/repo
          workflow_id: partial-build.yml
          inputs: '{"package_name": "some-composer/repo"}'

About

Github Action to dispatch a workflow in a separate repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published