File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 7070 echo "▶️ Running binary at $BINARY_PATH"
7171 $BINARY_PATH project --new "$NEW" --old "$OLD" --platform "$PLATFORM" --output "$PROJECT_FOLDER/api_comparison.md" --log-output "$PROJECT_FOLDER/logs.txt"
7272 cat "$PROJECT_FOLDER/logs.txt"
73+
74+ # fix the equation check, should be !=
75+ if [[ env.HEAD_GITHUB_REPO == env.BASE_GITHUB_REPO ]]; then
76+ echo > [!IMPORTANT] >> $GITHUB_STEP_SUMMARY
77+ echo > This PR is from a forked repository. Commenting on PRs from forks is disabled due to insufficient access rights. >> $GITHUB_STEP_SUMMARY
78+ echo --- >> $GITHUB_STEP_SUMMARY
79+ fi
7380
7481 cat "$PROJECT_FOLDER/api_comparison.md" >> $GITHUB_STEP_SUMMARY
7582 shell : bash
8491 file-path : " ${{ github.workspace }}/api_comparison.md"
8592 comment-tag : api_changes
8693 mode : recreate
87-
88- # Change to != - just for testing for now
89- - if : ${{ env.HEAD_GITHUB_REPO == env.BASE_GITHUB_REPO }}
90- name : 💬 PR from forked repository info
91- run : |
92- echo "::warning::This PR is from a forked repository. Commenting on PRs from forks is disabled for access right reasons." >> $GITHUB_STEP_SUMMARY
93- shell : bash
94-
95-
96-
You can’t perform that action at this time.
0 commit comments