We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abfc70e commit d1c3b99Copy full SHA for d1c3b99
.github/workflows/release-proposal-dispatch.yml
@@ -188,6 +188,14 @@ jobs:
188
- name: Create a branch for the release proposal
189
id: proposal-branch
190
run: |
191
+ git status
192
+
193
+ IS_SHALLOW=$(git rev-parse --is-shallow-repository)
194
+ if [ "$IS_SHALLOW" = "true" ]; then
195
+ echo "Repository is shallow"
196
+ git pull --unshallow
197
+ fi
198
199
git checkout "${{ env.RELEASE_BRANCH }}"
200
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
201
BRANCH_NAME="${{ env.PROPOSAL_BRANCH_PREFIX }}/${{ inputs.crate }}/$TIMESTAMP"
0 commit comments