Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 21, 2025

The release-please workflow was using a custom PAT (secrets.HCA_RELEASE_PLEASE_TOKEN) which requires manual maintenance. GitHub's built-in secrets.GITHUB_TOKEN provides the same functionality without the overhead.

Changes

  • Replace secrets.HCA_RELEASE_PLEASE_TOKEN with secrets.GITHUB_TOKEN in token configuration
  • Add workflow_dispatch trigger to enable manual workflow runs
  • Remove outdated PAT configuration comments
# Before
token: ${{ secrets.HCA_RELEASE_PLEASE_TOKEN }}

# After  
token: ${{ secrets.GITHUB_TOKEN }}

Aligns with the pattern used in DataBiosphere/data-portal.

Original prompt

This section details on the original issue you should resolve

<issue_title>Update release-please.yml config to use secrets.GITHUB_TOKEN</issue_title>
<issue_description># Overview
We use a PAT to authenticate "release-please", but this is not necessary. Instead, we can use secrets.GITHUB_TOKEN

The file to change:
https://github.com/DataBiosphere/data-browser/blob/main/.github/workflows/release-please.yml

Set up the token similar to
https://github.com/DataBiosphere/data-portal/blob/main/.github/workflows/release-please.yml

Don't change any other release-please config.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: NoopDog <3239697+NoopDog@users.noreply.github.com>
Copilot AI changed the title [WIP] Update release-please.yml to use secrets.GITHUB_TOKEN Replace PAT with secrets.GITHUB_TOKEN in release-please workflow Nov 21, 2025
Copilot AI requested a review from NoopDog November 21, 2025 18:30
Copilot finished work on behalf of NoopDog November 21, 2025 18:30
@NoopDog NoopDog marked this pull request as ready for review November 22, 2025 21:06
@NoopDog NoopDog removed their assignment Nov 23, 2025
@hunterckx hunterckx merged commit 93b247c into main Nov 23, 2025
3 checks passed
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.

Update release-please.yml config to use secrets.GITHUB_TOKEN

3 participants