Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Manually update bootstrap code #56

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,24 +193,6 @@ jobs:
# git stash -q
# fi

# Verify user is logged into GitHub
if (gh auth status); then
GH_AUTH="true"
else
echo "Not logged into GitHub, some script operations unavailable"
GH_AUTH="false"
fi

if [ "$GH_AUTH" = "true" ] && ! (check_authors); then
# No existing open pull requests found for this repository
echo "Removing remote branch if it exists: $AUTOMATION_BRANCH"
git push origin --delete "$AUTOMATION_BRANCH" > /dev/null 2>&1 || :
git branch -D "$AUTOMATION_BRANCH" || :
fi

echo "Creating local branch for automated update"
git checkout -b "$AUTOMATION_BRANCH"

# Configure GIT environment only if NOT already configured
# i.e. when running in a GitHub Actions workflow
TEST=$(git config -l > /dev/null 2>&1)
Expand Down
Loading