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 002ef04 commit 3309f8cCopy full SHA for 3309f8c
.github/workflows/kernel-build-and-test-x86_64.yml
@@ -362,6 +362,15 @@ jobs:
362
if: success() || failure()
363
364
steps:
365
+ - name: Check if branch name contains curly brackets
366
+ run: |
367
+ BRANCH_NAME="${{ github.ref_name }}"
368
+ if [[ ! "$BRANCH_NAME" =~ \{ ]] || [[ ! "$BRANCH_NAME" =~ \} ]]; then
369
+ echo "Branch name '$BRANCH_NAME' does not contain curly brackets, skipping PR creation"
370
+ exit 1
371
+ fi
372
+ echo "Branch name contains curly brackets, proceeding with PR creation checks"
373
+
374
- name: Check if tests passed and no regressions
375
run: |
376
# Skip PR if any test stage failed
0 commit comments