Merge pull request #713 from actions/cschleiden/add-workflow-dispatch

Add workflow_dispatch trigger to the default empty workflow
This commit is contained in:
Christopher Schleiden
2020-11-19 14:27:14 -08:00
committed by GitHub
+5 -2
View File
@@ -2,14 +2,17 @@
name: CI name: CI
# Controls when the action will run. Triggers the workflow on push or pull request # Controls when the action will run.
# events but only for the $default-branch branch
on: on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push: push:
branches: [ $default-branch ] branches: [ $default-branch ]
pull_request: pull_request:
branches: [ $default-branch ] branches: [ $default-branch ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
# This workflow contains a single job called "build" # This workflow contains a single job called "build"