Skip to content

Conversation

@zimeg
Copy link
Owner

@zimeg zimeg commented May 4, 2025

📚 https://goreleaser.com/quick-start/

To release to GitHub, you'll need to export a GITHUB_TOKEN environment variable, which should contain a valid GitHub token with the repo scope. It will be used to deploy releases to your GitHub repository. You can create a new GitHub token here.

The minimum permissions the GITHUB_TOKEN should have to run this are write:packages

  ⨯ release failed after 18s                 error=scm releases: failed to publish artifacts: could not release: POST https://api.github.com/repos/zimeg/git-coverage/releases: 403 Resource not accessible by integration []

https://github.com/zimeg/git-coverage/actions/runs/14818431455/job/41602083658#step:4:183

🔍 https://github.com/goreleaser/example-zig/blob/6bfeba3587e169ff31cba2da32854da025600937/.github/workflows/release.yml#L10-L11

@zimeg zimeg added bug Something isn't working ci Changes to make future changes easier build Compilations of the program semver:unversioned Changes between versions labels May 4, 2025
@zimeg zimeg added this to the Next release milestone May 4, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.59%. Comparing base (3e78b6d) to head (63d7a8d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage   94.59%   94.59%           
=======================================
  Files           1        1           
  Lines          37       37           
  Branches       37       37           
=======================================
  Hits           35       35           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zimeg
Copy link
Owner Author

zimeg commented May 4, 2025

@zimeg zimeg merged commit fdbc557 into main May 4, 2025
3 checks passed
@zimeg zimeg deleted the ci-release-token branch May 4, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build Compilations of the program ci Changes to make future changes easier semver:unversioned Changes between versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants