Skip to content

Commit a398f80

Browse files
fix: fossa error for scheduled run (#73)
1 parent b2ba68f commit a398f80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,19 +258,19 @@ jobs:
258258
SemVer: ${{ steps.semantic.outputs.new_release_version }}
259259
PrNumber: ${{ github.event.number }}
260260
- name: Download THRIDPARTY
261-
if: github.event_name != 'pull_request'
261+
if: github.event_name != 'pull_request' && github.event_name != 'schedule'
262262
uses: actions/download-artifact@v3
263263
with:
264264
name: THIRDPARTY
265-
- name: Download THRIDPARTY (Optional for PR)
266-
if: github.event_name == 'pull_request'
265+
- name: Download THRIDPARTY (Optional for PR and schedule)
266+
if: github.event_name == 'pull_request' || github.event_name == 'schedule'
267267
continue-on-error: true
268268
uses: actions/download-artifact@v3
269269
with:
270270
name: THIRDPARTY
271271
- name: Update Notices
272272
run: |
273-
cp -f THIRDPARTY package/THIRDPARTY || echo "THIRDPARTY file not found (allowed for PR)"
273+
cp -f THIRDPARTY package/THIRDPARTY || echo "THIRDPARTY file not found (allowed for PR and schedule)"
274274
- name: Build Package
275275
id: uccgen
276276
uses: splunk/addonfactory-ucc-generator-action@v1

0 commit comments

Comments
 (0)