Skip to content

Commit dcac254

Browse files
authored
Create branch if it does not exist
1 parent 34af43b commit dcac254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-make-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Update procedure
1414
run: |
1515
BRANCH="update-make-docs"
16-
git checkout "${BRANCH}"
16+
git checkout -b "${BRANCH}"
1717
curl -s -Lo docs/docs.mk https://raw.githubusercontent.com/grafana/writers-toolkit/main/docs/docs.mk
1818
curl -s -Lo docs/make-docs https://raw.githubusercontent.com/grafana/writers-toolkit/main/docs/make-docs
1919
if git diff --exit-code; then exit 0; fi

0 commit comments

Comments
 (0)