-
Notifications
You must be signed in to change notification settings - Fork 138
Conversation
entrypoint.sh
Outdated
|
||
if [[ "$REBASEABLE" != "true" || "$i" == "$MAX_RETRIES" ]] ; then | ||
echo "GitHub doesn't think that the PR is rebaseable!" | ||
echo "API response: $pr_resp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not print the response here. It was a CVE https://bugs.chromium.org/p/project-zero/issues/detail?id=2070
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrypoint.sh
Outdated
fi | ||
done | ||
|
||
if [[ "$REBASEABLE" != "true" || "$i" == "$MAX_RETRIES" ]] ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also no need to check for i
value. Not even sure if it's still available here. 🤔
if [[ "$REBASEABLE" != "true" || "$i" == "$MAX_RETRIES" ]] ; then | |
if [[ "$REBASEABLE" != "true" ]] ; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, it no need to check for i.
@ddzero2c thank you for the PR! |
* Retry if the PR is unrebaseable * Remove useless code (cherry picked from commit 1eb6e5e)
* Retry if the PR is unrebaseable * Remove useless code (cherry picked from commit 1eb6e5e)
* Retry if the PR is unrebaseable * Remove useless code (cherry picked from commit 1eb6e5e)
* Retry if the PR is unrebaseable * Remove useless code
Trying to fix issue 72