Skip to content

Commit 55d2ec0

Browse files
committed
bump bb version + no more temp-dir
1 parent 202b9fa commit 55d2ec0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/process_docs_changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Babashka
3333
uses: turtlequeue/setup-babashka@v1.7.0
3434
with:
35-
babashka-version: 1.12.197
35+
babashka-version: 1.12.199
3636

3737
- name: Install js dependencies
3838
run: yarn install --frozen-lockfile --prefer-offline

script/update_or_create_pr.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515

1616
(doseq [ad artifact-dirs]
1717
(println "Adding" ad "...")
18-
(shell {:dir temp-dir} "git" "add" ad))
18+
(shell "git" "add" ad))
1919

20-
(let [{:keys [exit]} (shell {:dir temp-dir
21-
:continue true}
22-
"git" "diff" "--cached" "--quiet")]
20+
(let [{:keys [exit]} (shell
21+
{:continue true}
22+
"git" "diff" "--cached" "--quiet")]
2323
(if (zero? exit)
2424
(println "→ No changes to commit.")
2525
(do
2626
(println "→ Changes detected, committing...")
27-
(shell {:dir temp-dir} "git" "commit" "-m" target-branch)
28-
(shell {:dir temp-dir} "git" "push" "--force" "origin" target-branch)
27+
(shell "git" "commit" "-m" target-branch)
28+
(shell "git" "push" "--force" "origin" target-branch)
2929
(println "→ Branch updated successfully."))))
3030

3131
(println "→ Checking for existing PR...")

0 commit comments

Comments
 (0)