Skip to content

Commit

Permalink
testing posting a message to the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jordangov committed Jul 2, 2024
1 parent 2ce9bec commit 8eccd68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/hero-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
echo "Confirming submission ($SUBMISSION) equals checksum...";
if [[ "$SUBMISSION" = "$CHECKSUM" ]]; then
echo "Submissions match, they're an open source hero!"
echo "RESULT='pass'" >> "$GITHUB_OUTPUT";
echo "RESULT=pass" >> "$GITHUB_OUTPUT";
echo "MESSAGE='🤩 Wow, you are an open source hero! Find a volunteer with the special White House badge to claim your fame!'" >> "$GITHUB_OUTPUT";
else
echo "Submissions do not match, need to try again."
echo "RESULT='fail'" >> "$GITHUB_OUTPUT";
echo "RESULT=fail" >> "$GITHUB_OUTPUT";
echo "MESSAGE='😔 Sorry, but that is not the right hash. Have you found all of the clues?'" >> "$GITHUB_OUTPUT";
fi
- name: Test Message
Expand All @@ -53,6 +53,7 @@ jobs:
env:
RESULT: ${{ steps.check_sub.outputs.RESULT }}
run: >-
echo "RESULT=$RESULT"
if [[ "$RESULT" = "pass" ]]; then
exit 0;
else
Expand Down

0 comments on commit 8eccd68

Please sign in to comment.