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

Add GITHUB_TOKEN to action #18

Merged
merged 1 commit into from
Jun 17, 2022
Merged

Add GITHUB_TOKEN to action #18

merged 1 commit into from
Jun 17, 2022

Conversation

rossf7
Copy link
Contributor

@rossf7 rossf7 commented Jun 17, 2022

No description provided.

@@ -23,4 +23,5 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrchrisadams Another fix is needed. I thought this env var was added automatically but the action fails with

 ⨯release failed after 0.00serror=missing GITHUB_TOKEN, GITLAB_TOKEN and GITEA_TOKEN
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.9.2/x64/goreleaser' failed with exit code 1

@rossf7 rossf7 merged commit 6b510ac into main Jun 17, 2022
@rossf7 rossf7 deleted the add-github-token branch June 17, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant