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 c77d6eb commit a6166b8Copy full SHA for a6166b8
actions/signing-event/action.yml
@@ -35,9 +35,11 @@ runs:
35
persist-credentials: true
36
37
- id: detect-base-branch
38
+ env:
39
+ INPUT_BASE_BRANCH: ${{ inputs.base-branch }}
40
run: |
- if [ -n "${{ inputs.base-branch }}" ]; then
- echo "base-branch=${{ inputs.base-branch }}" >> $GITHUB_OUTPUT
41
+ if [ -n "$INPUT_BASE_BRANCH" ]; then
42
+ echo "base-branch=$INPUT_BASE_BRANCH" >> $GITHUB_OUTPUT
43
else
44
# Try to auto-detect default branch
45
BASE_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main")
0 commit comments