Skip to content

fix: use PAT for release workflow#1816

Merged
saralvasquez merged 2 commits into
mainfrom
release-workflow
Jun 8, 2026
Merged

fix: use PAT for release workflow#1816
saralvasquez merged 2 commits into
mainfrom
release-workflow

Conversation

@saralvasquez

Copy link
Copy Markdown
Contributor

Summary of changes

This changes the release workflow to use a personal access token for the git commands at the end of the release workflow. This should resolve the issue where the version change push to main fails due to the ruleset requirements we have in place. The PAT is coming from a secure new github account/user that only the SDK team has access to. This user has been included in the bypass list for the ruleset and I've added the token to the repo secrets

AI Usage

Which AI Agent Was Used?

  • Copilot
  • Claude
  • Other (Type Name Here)

How was AI used?
no AI was used

Estimated AI Code Contribution

  • less than 30%
  • 30 - 60%
  • 60 - 100%

Checklist

  • Added a changelog entry
  • Tested and confirmed payment flows affected by this change are functioning as expected

Authors

@saralvasquez saralvasquez requested a review from a team June 4, 2026 23:17
@saralvasquez saralvasquez requested a review from a team as a code owner June 4, 2026 23:17
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities found.

Scanned Files

None

@buzzamus buzzamus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is great thank you! So, the only issue was with needing a token or was there another change you had to make in the workflow as well?

@agedd agedd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

😎

@saralvasquez

Copy link
Copy Markdown
Contributor Author

This is great thank you! So, the only issue was with needing a token or was there another change you had to make in the workflow as well?

So we needed to link the git commands to a token that could be added to the bypass list. Before this it was using a token generated by github actions itself and for some reason we couldn't add that entity to the bypass list which is why nothing we did got around the ruleset. Along with this PR I also added the token to the repo secrets and added the user that generated the token to the bypass list

@saralvasquez

Copy link
Copy Markdown
Contributor Author

Do we have any idea what's up with that failing test?

@saralvasquez saralvasquez merged commit 8ec4b43 into main Jun 8, 2026
36 of 38 checks passed
@saralvasquez saralvasquez deleted the release-workflow branch June 8, 2026 17:40
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.

3 participants