Skip to content

Matrix#96

Merged
grahamc merged 21 commits intomainfrom
matrix
Nov 6, 2024
Merged

Matrix#96
grahamc merged 21 commits intomainfrom
matrix

Conversation

@grahamc
Copy link
Copy Markdown
Member

@grahamc grahamc commented Nov 6, 2024

Description
Checklist
  • Tested changes against a test repository
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • (If this PR is for a release) Updated README to point to the new tag (leave unchecked if not applicable)

@grahamc
Copy link
Copy Markdown
Member Author

grahamc commented Nov 6, 2024

Includes #97 and #95

Comment thread src/index.ts
Comment on lines +227 to +230
"--use-gha-cache",
useGhaCache,
"--use-flakehub",
useFlakeHub,
Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member

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.

Comment thread .github/workflows/ci.yml
uses: DeterminateSystems/nix-installer-action@main
with:
flakehub: true
_internal-obliterate-actions-id-token-request-variables: ${{ matrix.id-token == 'none' }}
Copy link
Copy Markdown
Member

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... ?

Copy link
Copy Markdown
Member Author

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.

Copy link
Copy Markdown
Member

@colemickens colemickens left a 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.

@grahamc grahamc added this pull request to the merge queue Nov 6, 2024
Merged via the queue into main with commit 9ab3ce7 Nov 6, 2024
@grahamc grahamc deleted the matrix branch November 6, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants