Skip to content

Commit 7fb98b2

Browse files
authored
Oops, there is no --branch long opt (#5155)
1 parent 494dd3d commit 7fb98b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bump-api-schema-sha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
git config user.email "bot@getsentry.com"
2222
git config user.name "openapi-getsentry-bot"
23-
git checkout --branch "bot/bump-api-schema-to-${sha:0:8}"
23+
git checkout -b "bot/bump-api-schema-to-${sha:0:8}"
2424
2525
filepath="src/gatsby/utils/resolveOpenAPI.ts"
2626
sha="$(curl -sSL 'https://api.github.com/repos/getsentry/sentry-api-schema/commits/main' | awk 'BEGIN { RS=",|:{\n"; FS="\""; } $2 == "sha" { print $4 }')"

0 commit comments

Comments
 (0)