Skip to content

Commit

Permalink
[332] Updated conditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Nov 18, 2024
1 parent 93b6e1c commit 0ec2dda
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ jobs:
- uses: actions/checkout@v3
if: |-
github.event.pull_request.merged == true ||
contains(fromJson('["schedule", "workflow_dispatch"]'), github.event_name)
contains(fromJson('["schedule", "workflow_dispatch"]'), github.event_name) ||
github.event_name == 'pull_request' && startsWith(github.head_ref,'build/')
- uses: actions/checkout@v3
if: |-
github.event_name == 'pull_request' && startsWith(github.head_ref,'build/') ||
( github.event.issue.pull_request && contains(github.event.comment.body, '/build') )
if: ( github.event.issue.pull_request && contains(github.event.comment.body, '/build') )
with:
ref: refs/pull/${{ github.event.issue.number }}/head

Expand Down

0 comments on commit 0ec2dda

Please sign in to comment.