We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cab3df + ed2a4c3 commit 7da5e06Copy full SHA for 7da5e06
.github/workflows/fork_branch_checker.yml
@@ -11,7 +11,7 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- name: Check fork branch
14
- if: github.event.pull_request.head.repo.full_name != github.repository && github.ref_name == 'main'
+ if: github.event.pull_request.head.repo.full_name != github.repository && github.ref_name != 'main'
15
uses: actions/github-script@v3
16
with:
17
script: |
0 commit comments