There was an error while loading. Please reload this page.
1 parent f622b11 commit 113f347Copy full SHA for 113f347
1 file changed
.github/workflows/auto-patch-upstream.yml
@@ -100,8 +100,9 @@ jobs:
100
print ""
101
}1' "${NODE_FILE}" > tmp && mv tmp "${NODE_FILE}"
102
103
- # 4. Remove .github/ so push doesn't require workflows permission
104
- rm -rf .github/
+ # 4. Remove .github/ contents except release.yml so push doesn't require workflows permission
+ find .github/ -type f ! -name 'release.yml' -delete
105
+ find .github/ -type d -empty -delete
106
107
# 5. Commit, tag, push
108
git add -A
0 commit comments