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.
2 parents 7cefa67 + 73d6dd6 commit 56e720eCopy full SHA for 56e720e
.github/workflows/node.js.yml
@@ -32,9 +32,10 @@ jobs:
32
- uses: actions/setup-node@v4
33
with:
34
node-version: '20'
35
- - name: Check Branch title
+ - name: Validate Branch name
36
+ if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref != ''}}
37
env:
- BRANCH_NAME: ${{ github.head_ref }}
38
+ BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
39
run: |
40
node "$GITHUB_WORKSPACE/.github/workflows/lintbranch.js" run "$BRANCH_NAME"
41
- name: Check PR title
0 commit comments