Skip to content

Commit f697570

Browse files
committed
chore(ci): dont fetch assets if pull request rebuild
1 parent 32561f0 commit f697570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.title, '(rebuild)')
163163
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
164164
- run: FETCH_ASSETS=true REPO=pact-foundation/pact-js-core ./script/ci/check-release-libs.sh --fetch-assets
165-
if: github.ref != 'refs/heads/master' || !contains(github.event.pull_request.title, '(rebuild)')
165+
if: ${{ github.ref != 'refs/heads/master' && !contains(github.event.pull_request.title, '(rebuild)')}}
166166
env:
167167
GITHUB_TOKEN: ${{ github.token }}
168168

0 commit comments

Comments
 (0)