We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca6b2a2 commit 1b007eaCopy full SHA for 1b007ea
1 file changed
.github/workflows/build-test.yml
@@ -9,6 +9,12 @@ jobs:
9
build-test:
10
runs-on: ubuntu-latest
11
steps:
12
+ - name: Check source branch for main PR
13
+ if: github.base_ref == 'main' && github.head_ref != 'develop'
14
+ run: |
15
+ echo "PRs to main branch are only allowed from develop branch"
16
+ exit 1
17
+
18
- name: Checkout your repository using git
19
uses: actions/checkout@v4
20
- name: Install, build, and upload your site
0 commit comments