-
Notifications
You must be signed in to change notification settings - Fork 0
feat: update grading workflows #2
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
Conversation
61a9267 to
6d0c48e
Compare
| if [ "$found_occurences" -lt "$minimum_occurences" ]; then | ||
| checks=$(echo $checks | jq '.app_js.passed = false') | ||
| checks=$(echo $checks | jq '.app_js.message = "Please use Copilot to update the web application activity cards to show participant info."') | ||
| echo "::error::Please use Copilot to update the web application activity cards to show participant info." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just leave this out
| next_step_number=4 | ||
| - name: Update comment - step finished | ||
| if: ${{ !contains(steps.*.outcome, 'failure') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this if should be removed
| COMMENT_BODY: ${{ steps.build-message-step-results.outputs.updated-text }} | ||
|
|
||
| - name: Fail job if not all checks passed | ||
| if: steps.check-user-work.outputs.passed == 'false' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to stay to fail the grading job. I think the if should switch to ${{ !contains(steps.*.outcome, 'failure') }}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The check should be without the ! negation though, ${{ contains(steps.*.outcome, 'failure') }}
Uh oh!
There was an error while loading. Please reload this page.