Skip to content

Commit

Permalink
Rename Gippi to AEP
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Thornton committed May 9, 2024
1 parent 2f90d85 commit 6d12cf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo -e "$response_body" > "${WORKING_DIRECTORY}${RESPONSE_MD_FILE}"
else
echo "Error sending file contents: $response_code"
echo -e "Request to gippi failed to process" > "${WORKING_DIRECTORY}${RESPONSE_MD_FILE}"
echo -e "Request to AEP failed to process" > "${WORKING_DIRECTORY}${RESPONSE_MD_FILE}"
fi
if [ $? -eq 0 ]; then
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo -e "$response_body" > "${WORKING_DIRECTORY}${RESPONSE_MD_FILE}"
else
echo "Error sending file contents: $response_code"
echo -e "Request to gippi failed to process" > "${WORKING_DIRECTORY}${RESPONSE_MD_FILE}"
echo -e "Request to AEP failed to process" > "${WORKING_DIRECTORY}${RESPONSE_MD_FILE}"
fi
if [ $? -eq 0 ]; then
Expand All @@ -90,9 +90,9 @@ jobs:
with:
script: |
const prBody = context.payload.pull_request.body || '';
const updatedBody = prBody.includes('## 🤖GIPPI PR SUMMARY🤖')
? prBody.replace(/## 🤖GIPPI PR SUMMARY🤖[\s\S]*/, '') + '\n\n## 🤖GIPPI PR SUMMARY🤖\n\n' + process.env.response
: prBody + '\n\n## 🤖GIPPI PR SUMMARY🤖\n\n' + process.env.response;
const updatedBody = prBody.includes('## 🤖AEP PR SUMMARY🤖')
? prBody.replace(/## 🤖AEP PR SUMMARY🤖[\s\S]*/, '') + '\n\n## 🤖AEP PR SUMMARY🤖\n\n' + process.env.response
: prBody + '\n\n## 🤖AEP PR SUMMARY🤖\n\n' + process.env.response;
github.rest.pulls.update({
pull_number: context.issue.number,
owner: context.repo.owner,
Expand Down

0 comments on commit 6d12cf7

Please sign in to comment.