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
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the $default-branch branch
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push:
branches: [ $default-branch ]
pull_request:
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
jobs:
# This workflow contains a single job called "build"