Which is the right way to configure the the secret token? #1304
-
i'm trying configure like this |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 |
Beta Was this translation helpful? Give feedback.
-
i fix that error, my GH_TOKEN syntax was incorrent inside my action secrets |
Beta Was this translation helpful? Give feedback.
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:
More informations here