Skip to content

Which is the right way to configure the the secret token? #1304

Answered by lowlighter
m1guer asked this question in Q&A
Discussion options

You must be logged in to vote

Hi 👋 !

Yes indeed,

You need to create a personal access token from your setting (use the classic format, the new one hasn't been tested yet)

Then put the generated string in your repository secret (don't write it directly in your workflow)

And then it'll be usable with the following syntax in your workflows:

 with:
   token: ${{ secrets.METRICS_TOKEN }}

More informations here

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by m1guer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants