Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosign installer removes cosign.pub from the root of project causing dirty state for goreleaser #23

Closed
dopey opened this issue Sep 3, 2021 · 1 comment · Fixed by #24

Comments

@dopey
Copy link

dopey commented Sep 3, 2021

Description

This is my cosign installer block:

      -
        name: Install cosign
        uses: sigstore/cosign-installer@main
        with:
          cosign-release: 'v1.1.0'

After it runs, my git state is dirty and goreleaser fails with the following error:

 ⨯ release failed after 0.02s error=git is currently in a dirty state, please check in your pipeline what can be changing the following files:
 D cosign.pub

I've placed a tmate debug before the action and then after to confirm that something in this action is dirtying the state.

@dopey
Copy link
Author

dopey commented Sep 3, 2021

I'm guessing it's this commit #22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant