We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4806073 + efbe00a commit 460a6cfCopy full SHA for 460a6cf
1 file changed
.github/workflows/trim_core_package_history.yml
@@ -92,14 +92,8 @@ jobs:
92
LAST_COMMIT=""
93
for c in $(printf "%s\n" "${keep_commits[@]}" | tac); do
94
echo "Processing commit $c ..."
95
- git checkout "$ORIG_HEAD" -- . || true
96
- if git ls-tree -r --name-only "$c" | grep -q '^dev$' 2>/dev/null; then
97
- git checkout "$c" -- dev || true
98
- fi
99
- if git ls-tree -r --name-only "$c" | grep -q '^master$' 2>/dev/null; then
100
- git checkout "$c" -- master || true
101
102
-
+ git checkout -- . || true
+ git checkout "$c" -- . || true
103
git add -A || true
104
TREE_ID=$(git write-tree)
105
AUTHOR_NAME=$(git show -s --format='%an' $c)
0 commit comments