Skip to content

Commit 86c72b0

Browse files
authored
ci(boil): Checkout repo to fix gh command (#1569)
1 parent feddf43 commit 86c72b0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/boil_release.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,20 @@ jobs:
8585
run: gh release upload "${RELEASE_TAG}" boil-${{ matrix.targets.target }}
8686

8787
finish-release:
88+
name: Finish Release
8889
needs: [build]
8990
runs-on: ubuntu-latest
9091
permissions:
9192
# Write is needed to finalize the release
9293
# See https://github.com/softprops/action-gh-release/blob/153bb8e04406b158c6c84fc1615b65b24149a1fe/README.md?plain=1#L281
9394
contents: write
9495
steps:
96+
# This checkout is only here so that a .git directory is present because the gh CLI needs it.
97+
- name: Checkout
98+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
99+
with:
100+
persist-credentials: false
101+
95102
- name: Finish Release
96103
env:
97104
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)