Skip to content

Commit

Permalink
Fix issues (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordangov authored Jul 7, 2024
1 parent b25ca3f commit fe7bcf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hero-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Check Submission
id: check_sub
run: >-
echo "Checking diff from ${{ github.event.pull_request.head.ref }} on ${{ github.event.pull_request.head.repo.full_name }}..."
echo "Checking diff from ${{ github.event.pull_request.head.ref }} on ${{ github.event.pull_request.head.repo.full_name }}...";
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)...";
echo "Confirming submission ($SUBMISSION) for ${{github.actor}} equals check...";
if [[ "$SUBMISSION" = "$CHECK" ]]; then
echo "Submissions match"
Expand Down

0 comments on commit fe7bcf4

Please sign in to comment.