(bug): Update Porter/Porter GHA to only run on push into main (#3008) #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: porter/porter-canary | |
on: | |
workflow_dispatch: | |
inputs: | |
shouldPublish: | |
description: Should Publish | |
default: true | |
type: boolean | |
required: false | |
skipTests: | |
description: Skip Tests | |
default: false | |
type: boolean | |
required: false | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- split-builds | |
jobs: | |
build_pipelinesrelease_template: | |
name: build_pipelinesrelease_template | |
uses: './.github/workflows/build_pipelinesrelease_template.yml' | |
with: | |
registry: ghcr.io/getporter | |
shouldPublish: ${{inputs.shouldPublish}} | |
skipTests: ${{inputs.skipTests}} |