Skip to content

Commit

Permalink
filter branch on release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jworkmanjc committed Nov 15, 2023
1 parent faf0ae4 commit 3875bce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/jcapi-powershell-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ on:
branches:
- master
jobs:
Filter-Branch:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'SDK')
steps:
- run: echo "Building SDKs"
Check-If-Merged:
needs: ['Filter-Branch']
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3875bce

Please sign in to comment.