Add workflow_dispatch trigger to the default empty workflow

This commit is contained in:
Christopher Schleiden
2020-11-19 14:07:15 -08:00
committed by GitHub
parent b2e55d25f2
commit ef7878c3e6
+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 ]
# This 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"