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 27dacb3 commit efefa09Copy full SHA for efefa09
.github/workflows/base-deploy.yml
@@ -8,7 +8,7 @@ on:
8
required: true
9
type: string
10
ref:
11
- description: "Git ref to deploy (branch/tag/SHA). For prod, supply the RC tag to promote."
+ description: "Git ref to deploy (dev-tag). For prod, supply the RC tag to promote."
12
13
14
release_type:
@@ -83,8 +83,8 @@ jobs:
83
SHA="${{ github.event.workflow_run.head_sha }}"
84
TAG=$(git tag --points-at "$SHA" | grep '^dev-' | head -n1 || true)
85
if [ -z "$TAG" ]; then
86
- echo "No dev-* tag found on $SHA" >&2
87
- exit 1
+ echo "Using the dev tag provided in the input field" >&2
+ TAG="${{ inputs.ref }}"
88
fi
89
echo "name=$TAG" >> $GITHUB_OUTPUT
90
echo "Resolved tag: $TAG"
0 commit comments