Skip to content

Commit 3da7ea9

Browse files
committed
ci: keep the Doppler CLI's ./bin out of goreleaser's dirty check
1 parent 6f18392 commit 3da7ea9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ jobs:
4343
uses: dopplerhq/cli-action@v3
4444

4545
- name: GoReleaser release (Homebrew tap token via Doppler)
46-
run: doppler run -- goreleaser release --clean
46+
run: |
47+
# dopplerhq/cli-action installs the doppler binary into ./bin, which
48+
# would make the tree dirty and abort goreleaser. Hide it from git's
49+
# dirty check without a tracked change.
50+
printf 'bin/\n' >> "$(git rev-parse --git-dir)/info/exclude"
51+
doppler run -- goreleaser release --clean
4752
env:
4853
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
4954
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)