You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python -c 'import sys; pr_summary = open("/tmp/pr-summary.txt", "rt").read(); sys.exit(1 if "Make sure you delete these instructions" in pr_summary else 0)'
30
+
31
+
# NOTE: comments disabled for now as separate permissions are required
32
+
# failing CI step may be sufficient to start (although it contains less information about why it failed)
# body: 'Please make sure to delete starter instructions from your PR summary and replace them with a descriptive summary.'
45
+
# })
46
+
47
+
- name: Fail if PR instructions were not deleted
48
+
if: steps.check-instructions.outcome == 'failure'
49
+
run: |
50
+
python -c 'import sys; print("PR instructions were not replaced"); sys.exit(1)'
51
+
52
+
# - name: Add comment (missing testing)
53
+
# if: steps.check-testing.outcome == 'failure'
54
+
# uses: actions/github-script@v6
55
+
# with:
56
+
# github-token: ${{ secrets.GITHUB_TOKEN }}
57
+
# script: |
58
+
# github.rest.issues.createComment({
59
+
# issue_number: context.issue.number,
60
+
# owner: context.repo.owner,
61
+
# repo: context.repo.repo,
62
+
# body: 'Please add a `### Testing` section to your PR summary describing the testing performed. See https://github.com/project-chip/connectedhomeip/blob/master/CONTRIBUTING.md#pull-requests'
0 commit comments