We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88820a0 commit 5ae8f39Copy full SHA for 5ae8f39
.github/workflows/kernel-build-and-test-x86_64.yml
@@ -365,6 +365,15 @@ jobs:
365
if: success() || failure()
366
367
steps:
368
+ - name: Check if branch name contains curly brackets
369
+ run: |
370
+ BRANCH_NAME="${{ github.ref_name }}"
371
+ if [[ ! "$BRANCH_NAME" =~ \{ ]] || [[ ! "$BRANCH_NAME" =~ \} ]]; then
372
+ echo "Branch name '$BRANCH_NAME' does not contain curly brackets, skipping PR creation"
373
+ exit 1
374
+ fi
375
+ echo "Branch name contains curly brackets, proceeding with PR creation checks"
376
+
377
- name: Check if tests passed and no regressions
378
run: |
379
# Skip PR if any test stage failed
0 commit comments