From c7a7b200830c44d3501edd9bcdfd80c58c58c46c Mon Sep 17 00:00:00 2001 From: Jordan Kasper <30059011+jordangov@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:08:30 -0400 Subject: [PATCH] debugging pipeline --- .github/workflows/hero-check.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hero-check.yml b/.github/workflows/hero-check.yml index d48a998..e8e6a9e 100644 --- a/.github/workflows/hero-check.yml +++ b/.github/workflows/hero-check.yml @@ -28,9 +28,15 @@ jobs: - name: Check Submission id: check_sub run: >- + pwd; + ls -l; + cat source/open-source-heroes.md; + cat target/open-source-heroes.md; + + diff target/open-source-heroes.md source/open-source-heroes.md || true; SUBMISSION=`(diff target/open-source-heroes.md source/open-source-heroes.md || true) | awk '/\* @${{github.actor}}/{ print $4 }'`; CHECK=`echo -n "${{github.actor}}-${{ secrets.SALT }}" | openssl dgst -${{ secrets.ALGO }} | awk '/[a-z0-9]+/{ print $2 }'`; - echo "Confirming submission ($SUBMISSION) for ${{github.actor}} equals check ($CHECK) from SALT ($SALT) and ALGO ($ALGO)..."; + echo "Confirming submission ($SUBMISSION) for ${{github.actor}} equals check ($CHECK)..."; if [[ "$SUBMISSION" = "$CHECK" ]]; then echo "Submissions match"