Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test forked pr to fail #26

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adding github comment action
  • Loading branch information
sjledoux committed Apr 11, 2023
commit 98d5134f80b847146a6a4f3dba4130671fedbe39
13 changes: 13 additions & 0 deletions .github/workflows/fps-submissions-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,16 @@ jobs:
with:
script: |
core.setFailed(${{ steps.read_results.outputs.contents }})
- name: Create Comment
if: steps.read_results.outputs.contents != 'success'
run: |
echo "Hello, it appears you have failed some tests. Here are your results:\n" > message.txt
cat results.txt >> message.txt
else:
echo "Looks like you've passed all of the checks!" > message.txt
- name: Write Comment on PR
uses: mshick/add-pr-comment@v2
with:
message-path:
"message.txt"