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
Copy file name to clipboardExpand all lines: .claude/scripts/createInlineComment.sh
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,12 @@ readonly LINE_ARG="${3:-}"
47
47
validate_rule "$BODY_ARG"
48
48
echo"Comment approved: $COMMENT_STATUS_REASON"
49
49
50
-
readonly FOOTER=$'\n\n---\n\nPlease rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency.'
51
-
readonly COMMENT_BODY="${BODY_ARG}${FOOTER}"
52
-
53
50
COMMIT_ID=$(gh api "/repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER" --jq '.head.sha')
54
51
readonly COMMIT_ID
52
+
readonly SHORT_SHA="${COMMIT_ID:0:7}"
53
+
54
+
readonly FOOTER=$'\n\n---\n\n'"Reviewed at: [${SHORT_SHA}](https://github.com/${GITHUB_REPOSITORY}/commit/${COMMIT_ID}) | Please rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency."
if [[ "${{ steps.getPRInfo.outputs.REPO_FULL_NAME }}" != ${{ github.repository }} ]] && [[ ! "${{ steps.getPRInfo.outputs.REPO_FULL_NAME }}" =~ Expensify/Mobile-Expensify* ]]; then
66
-
echo "::error::❌ Cherry picks are only supported for the Expensify/App and Expensify/Mobile-Expensify repositories. Found: ${{ steps.getPRInfo.outputs.REPO_FULL_NAME }}"
`entryScreens` (screennamesthatmayopenthisroute). Ifthesuffixneedspathparameters, define`path`with`:param`placeholdersanda`getRoute`function. If the suffix needs query parameters, also define `getRoute` and `queryParams` - see
898
896
[Dynamic routes with query parameters](#dynamic-routes-with-query-parameters).
899
897
2. Add a screen constant in [`src/SCREENS.ts`](../src/SCREENS.ts).
0 commit comments