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 5bc22a1 commit ca1ebc0Copy full SHA for ca1ebc0
.github/workflows/release-source.yml
@@ -54,6 +54,13 @@ jobs:
54
run: |
55
echo 'Branch check is enabled: only the develop branch can be released.'
56
exit 1
57
+ - name: Ensure base branch is main when skip_branch_check is false
58
+ if: ${{ inputs.skip_branch_check == false }}
59
+ run: |
60
+ if [ "${{ inputs.base_branch }}" != "main" ]; then
61
+ echo "Error: base_branch must be 'main' when skip_branch_check is false."
62
+ exit 1
63
+ fi
64
# checkout specific repository
65
- name: checkout repository
66
uses: actions/checkout@v3
0 commit comments