Skip to content

Commit 9ad8257

Browse files
committed
no nothing personal
Change-Id: I046ef66337e3d1a633779b8dd46af181bccc878d
1 parent 0bed233 commit 9ad8257

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/linearize_main.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
ref: main
2121
fetch-tags: true
22-
fetch-depth: 10
22+
fetch-depth: 15
2323
- name: Checkout rebase_tools
2424
uses: actions/checkout@v4
2525
with:
@@ -59,8 +59,11 @@ jobs:
5959
git stash
6060
git checkout experimental/rebase_tools
6161
rm -rf automated_commits_m114.json
62-
git stash pop
62+
git checkout stash -- automated_commits_m114.json
6363
git add --ignore-removal automated_commits_m114.json
64-
git commit -m "Linearization refresh on $(date +'%Y-%m-%d')."
65-
git push --force origin experimental/rebase_tools:experimental/rebase_tools
66-
#NOTHING PERSONAL
64+
if git diff --quiet --cached; then
65+
echo "No changes detected. Nothing to update."
66+
else
67+
git commit -m "Linearization refresh on $(date +'%Y-%m-%d')."
68+
git push --force origin experimental/rebase_tools:experimental/rebase_tools
69+
fi

0 commit comments

Comments
 (0)