Workflow Dispatch (manually and via REST call)



examples/workflows/workflow_dispatch.yml
name: Push and Workflow Dispatch

on:
  push:
    branches: '*'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Single step
      run: |
        printenv | grep GITHUB | sort