Only run GHA on PRs targeting the mainline

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-11-11 09:34:44 -05:00
parent e908a30d3a
commit 3a26a05c05

View file

@ -1,11 +1,9 @@
name: Enable GitHub Actions
run-name: ${{ github.actor }} is activating GitHub Actions on the main branch 🚀
run-name: ${{ github.actor }} is activating GitHub Actions on a PR to the main branch 🚀
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
branches: ["main"]
workflow_dispatch:
jobs: