Skip to content

showing github.token(probably same as GITHUB_TOKEN) is intentional? #25897

Answered by ethomson
msroz asked this question in Actions
Discussion options

You must be logged in to vote

Interestingly, this was not the same as secrets.GITHUB_TOKEN - your workflow is passing environment variables token1 and token2 but you’re evaluating TOKEN1 and TOKEN2.  Environment variables are case sensitive (on POSIX platforms) so they were both empty and that’s why they were the same in your test.

But that’s an aside.  This was part of a change that we made this morning to how temporary secrets are managed and renewed.  Prior to this, github.token and secrets.github_token were the same value.  With this change, we were separating them into distinct values.  In this case, we should have been masking the value of the github.token like we were for the secrets.github_token.

We’ve rolled …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
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
Labels
None yet
2 participants