Only run GHA on PRs targeting the mainline (#860)

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
jkneubuh 2022-11-11 10:16:58 -05:00 committed by GitHub
parent e908a30d3a
commit 60a61b8241
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,9 @@
name: Enable GitHub Actions 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: on:
push:
branches: ["**"]
pull_request: pull_request:
branches: ["**"] branches: ["main"]
workflow_dispatch: workflow_dispatch:
jobs: jobs: