Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

[workspace] Refresh GH token before CI release step #836

Open
ascariandrea opened this issue Dec 12, 2022 · 0 comments
Open

[workspace] Refresh GH token before CI release step #836

ascariandrea opened this issue Dec 12, 2022 · 0 comments
Assignees

Comments

@ascariandrea
Copy link
Collaborator

ascariandrea commented Dec 12, 2022

The last CI run for publishing the GH release has failed due to the expired token.

I suggest to add a "refresh token" step before running the release process, so to keep the secret rotating and prevent such error.

It seems to be easily solvable with this action

uses: hmanzur/[email protected]
with:
  name: 'RELEASE_TOKEN'
  value: 
  repository: 'tracking-exposed/trex'
  token: ${{ secrets.RELEASE_TOKEN }}
  org: true
  visibility: 'all'
@ascariandrea ascariandrea self-assigned this Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant