GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Release job fails: GitHub token lacks permission to create release (403 error) · Issue #256 · telemetryforge/agent

Release job fails: GitHub token lacks permission to create release (403 error) #256

New issue
Copy link
New issue
Copy link
Closed
#261
Closed
Release job fails: GitHub token lacks permission to create release (403 error)#256
#261
Copy link
Assignees
patrick-stephenscopilot-swe-agent
Labels
bugSomething isn't workinggithub_actionsPull requests that update GitHub Actions code

Description

@patrick-stephens
patrick-stephens
opened on Apr 24, 2026
Issue body actions

Summary

The release job fails with a 403 error when attempting to create a release:

{"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"403"}

See failed job logs

Steps to reproduce

  • Trigger a build that pushes a tag (e.g., v26.4.3)
  • Observe the release step
  • The job fails at the "Create release" step

Root Cause

This usually happens when the workflow is triggered in a context where the GITHUB_TOKEN does not have contents: write permission, or if repository/org workflow permissions restrict write access to releases. In some cases, a manual run or a PR from a fork can trigger the job but the token cannot create releases.

Possible solutions

  • Ensure the workflow only attempts to create releases on trusted events (e.g., push to a tag)
  • Confirm repo Settings → Actions → General → Workflow permissions is set to Read and write
  • If releases must be created during workflow_dispatch or similar, configure a repository secret with a personal access token (PAT) with repo/contents:write and reference it in the release step

Links

  • GitHub Actions docs: Permissions
  • Action: softprops/action-gh-release

Please investigate and update workflow YAML as appropriate.

Reacted by Copilot

Activity

  1. patrick-stephens
    added
    bugSomething isn't working
    github_actionsPull requests that update GitHub Actions code
    on Apr 24, 2026
  2. patrick-stephens
    assigned
    patrick-stephens
    and
    Copilot
    on Apr 24, 2026
  3. Copilot
    linked a pull request that will close this issuefix: resolve release job 403 and add workflow_dispatch dry-run mode #257on Apr 24, 2026
  4. patrick-stephens commented on Apr 30, 2026

    @patrick-stephens
    patrick-stephens
    on Apr 30, 2026
    ContributorAuthor
    More actions

    I think the issue may be related to softprops/action-gh-release#758 in that we are creating a release from the not-latest commit on the branch.

    You can see the next release went through fine with no issues: https://github.com/telemetryforge/agent/actions/runs/25048156020/job/73373380753

  5. patrick-stephens
    closed this as completedin #261on Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • Copilot
  • @patrick-stephens
    patrick-stephens

Labels

bugSomething isn't workinggithub_actionsPull requests that update GitHub Actions code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.