We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59934cd commit e1cd691Copy full SHA for e1cd691
.github/workflows/sync-rest-api-docs.yaml
@@ -36,8 +36,8 @@ jobs:
36
# If a stable camunda branch exists for the
37
# next minor release, use it. Otherwise, use main.
38
stable_branch="stable/$next_minor_release"
39
- if git ls-remote --heads https://github.com/camunda/camunda $stable_branch; then
40
- echo "Found a stable branch: origin/$stable_branch"
+ if git ls-remote --exit-code --heads https://github.com/camunda/camunda $stable_branch; then
+ echo "Found a stable branch: $stable_branch"
41
echo "camunda_branch=$stable_branch" >> "$GITHUB_OUTPUT"
42
else
43
echo "No stable branch for version $next_minor_release, using main"
0 commit comments