Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 495 Bytes

File metadata and controls

28 lines (23 loc) · 495 Bytes

dispatch

A GitHub Action that dispatch a github dispatch event

Usage

Add .github/workflows/sanity-check.yml with the following:

name: Dispatch
on:
  pull_request:
    types: [opened]
  issue_comment:
    types: [created]]

jobs:
  commits_check_job:
    runs-on: ubuntu-latest
    name: Commits Check
    steps:
    - name:
      id: 'dispatch'
      uses: tim-actions/dispatch@master
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        event: trigger-workflow-build