diff --git a/sweep/remove-stale-bot-workflow.sh b/sweep/remove-stale-bot-workflow.sh new file mode 100755 index 0000000..947a0b6 --- /dev/null +++ b/sweep/remove-stale-bot-workflow.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Title: Remove the stale bot workflow + +WORKFLOW_FILE=.github/workflows/stale.yml + +[[ -f "$WORKFLOW_FILE" ]] || exit 0 + +rm -f "$WORKFLOW_FILE" + +git add "$WORKFLOW_FILE" +git --no-pager diff --color --cached