plot Actual vs predict #235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Contribution Rules Check | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
jobs: | |
check-contribution-rules: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Check PR Description for Contribution Rules | |
run: | | |
# Check for issue reference | |
if ! grep -q "Issue Reference:" "$GITHUB_EVENT_PATH"; then | |
echo "PR does not reference an issue." | |
exit 1 | |
fi | |
# Check for description of changes | |
if ! grep -q "Description of changes:" "$GITHUB_EVENT_PATH"; then | |
echo "PR does not contain a description of changes." | |
exit 1 | |
fi | |
- name: Success message | |
run: echo "PR follows contribution rules." |