From b308c64ebc9b71bca2acb994065f767795dc0ed1 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 11 Apr 2021 02:30:57 +0200 Subject: [PATCH] Experimenting with github actions --- .github/workflows/pull_request_check.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index 3fcfd7d..526fc16 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -43,4 +43,13 @@ jobs: fi - name: Test variable - run: echo "${{ env.VALIDATION_FAILED }}" \ No newline at end of file + run: echo "${{ env.VALIDATION_FAILED }}" + + - name: Comment PR + uses: allthatjazzleo/actions-pull-request-add-comment@master + if: >- + env.VALIDATION_FAILED == 'true' + with: + # message: 'yoyo🤙🏻' + message: "cat layer_report.txt missing_licenses.txt" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file