mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
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:
parent
e908a30d3a
commit
60a61b8241
1 changed files with 2 additions and 4 deletions
6
.github/workflows/enable-gha.yaml
vendored
6
.github/workflows/enable-gha.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue