Skip to content

Commit

Permalink
Skip job entire job if not on a release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chainchad committed Feb 23, 2023
1 parent a7a48dc commit 91f8ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
build-sign-publish-chainlink:
if: ! startsWith(github.ref_name, 'release/')
runs-on: ubuntu-20.04
environment: build-publish
permissions:
Expand All @@ -21,7 +22,6 @@ jobs:
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: Build, sign and publish chainlink image
if: ! startsWith(github.ref_name, 'release/')
uses: ./.github/actions/build-sign-publish-chainlink
with:
publish: true
Expand Down

0 comments on commit 91f8ffb

Please sign in to comment.