[Bug]: Release workflow lookup uses a literal authorization header

Open Beginner friendly
#509 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github, github-actions
Domain
ci-cd, devops

Research direction

Start in the Release GitHub Actions workflow, at the step named Check if GitHub release already exists for this version, and find where the Authorization header is set to a literal value instead of the GITHUB_TOKEN secret. Replace it with the token reference, then confirm the release lookup request authenticates. Done means that step's HTTP request sends the token and the workflow run gets past that check. The issue's header value is redacted, so check the exact wording in the file.

Written by the indexing model from the issue text.

Description

bug
Bug Description

The release workflow sends Authorization: ****** instead of the value from GITHUB_TOKEN. This prevents the GitHub Releases API lookup from authenticating correctly and may cause the release workflow to fail.

Steps to Reproduce
  1. Push a change to main or master.
  2. Open the Release GitHub Actions workflow.
  3. Allow the Check if GitHub release already exists for this version step to run.
  4. Inspect the HTTP response from the GitHub Releases API.
Expected Behavior

The workflow should send the repository’s GITHUB_TOKEN value as the authorization header, allowing the existing-release lookup to succeed.

Desktop Operating System

Windows 10

Client OS and browser

Not applicable — GitHub Actions workflow

Rein Version

No response

Console Logs / Error Messages (Optional)

Screenshots / Recordings (Optional)

No response

Checklist
  • I have searched for existing issues to avoid duplicates
Dominant language
TypeScript
Stars
55
Forks
120
Avg merge
4d 5h
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/Rein

All issues in AOSSIE-Org/Rein

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.