diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index fa06b32..b145ed9 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -42,6 +42,16 @@ jobs: - name: Test variable run: echo "${{ env.VALIDATION_FAILED }}" + - name: Archive reports + uses: actions/upload-artifact@v2 + if: >- + env.VALIDATION_FAILED == 'true' + with: + name: reports + path: | + layer_report.txt + missing_licenses.txt + - name: Comment PR uses: allthatjazzleo/actions-pull-request-add-comment@master if: >-