trex
trex copied to clipboard
[workspace] Refresh GH token before CI release step
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'