Skip to content

Commit

Permalink
Disable roxygen2 auto-updates until unicode issues are resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy committed May 6, 2024
1 parent 26309d6 commit 893caae
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,19 @@ jobs:
# Attempt to commit and push man-page updates
if [ "${AUTO_UPDATE}" == "true" ]
then {
echo "Regenerating man pages via auto-update"
git config --global user.name "github-actions"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config pull.rebase false
BRANCH_NAME="${{ steps.branch-name.outputs.head_ref_branch }}"
git pull origin ${BRANCH_NAME} || true
git add -A man/ DESCRIPTION
git commit -m "[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update"
git push -v origin HEAD:${BRANCH_NAME} || \
(echo "⚠️ Could not push to ${BRANCH_NAME} on $(git remote -v show -n origin | grep Push)" && \
AUTO_UPDATE=failed)
# TODO: Disable Roxygen auto-updates until unicode issues are fixed
:
#echo "Regenerating man pages via auto-update"
#git config --global user.name "github-actions"
#git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
#git config pull.rebase false
#BRANCH_NAME="${{ steps.branch-name.outputs.head_ref_branch }}"
#git pull origin ${BRANCH_NAME} || true
#git add -A man/ DESCRIPTION
#git commit -m "[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update"
#git push -v origin HEAD:${BRANCH_NAME} || \
# (echo "⚠️ Could not push to ${BRANCH_NAME} on $(git remote -v show -n origin | grep Push)" && \
# AUTO_UPDATE=failed)
}
fi
# If auto-update is disabled or is unsuccessful, let 'em know to fix manually
Expand Down

0 comments on commit 893caae

Please sign in to comment.