Skip to content
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

ci: add provenance to insider packages #336

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

saibotk
Copy link
Contributor

@saibotk saibotk commented Mar 6, 2024

This commit adds provenance for insider packages. See the NPM documentation 0.

Note: This will only affect the insiders build, because the normal package is sadly not being built within a workflow.
Should we add that too here or rather in another PR/later?

Provenance will allow people to verify that the packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security.

For this to work, the id-token permission was added only where necessary.

Copy link

vercel bot commented Mar 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-typography ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2024 1:41am

@saibotk saibotk changed the title ci: add provenance to publised package ci: add provenance to published package Mar 6, 2024
@saibotk saibotk changed the title ci: add provenance to published package ci: add provenance to insider packages Mar 6, 2024
This commit adds provenance for insider packages. See the NPM documentation [0].

Provenance will allow people to verify that the packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security.

For this to work, the `id-token` permission was added only where necessary.

[0]: https://docs.npmjs.com/generating-provenance-statements
@reinink reinink merged commit e1d4dc7 into tailwindlabs:master Mar 22, 2024
4 checks passed
@reinink
Copy link
Member

reinink commented Mar 22, 2024

Thanks! And feel free to submit a subsequent PR to add a standard release workflow 👍

adamwathan pushed a commit that referenced this pull request Mar 27, 2024
This commit adds provenance for insider packages. See the NPM documentation [0].

Provenance will allow people to verify that the packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security.

For this to work, the `id-token` permission was added only where necessary.

[0]: https://docs.npmjs.com/generating-provenance-statements
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.

None yet

2 participants