-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matrix #96
Conversation
…ms/allow-obliterating-id-token-privs` (`4280bc94c9545f31ccf08001cc16f20ccb91b770`)
"--use-gha-cache", | ||
useGhaCache, | ||
"--use-flakehub", | ||
useFlakeHub, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised to see these as new additions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, it's literally the next section, never mind, I see how they moved.
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
flakehub: true | ||
_internal-obliterate-actions-id-token-request-variables: ${{ matrix.id-token == 'none' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this for? _internal-obliterate...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want those actions to not have the ACTIONS_ID_TOKEN_REQUEST_* environment variables, so they can't create an ID token and log in to flakehub. This simulates not having the id-token: write
permission. I wanted to parameterize that permission in the matrix, but permissions can't be variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, very slick, definitely increases my confidence about things.
Description
Checklist