mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #1408] Publish npm Package with Provenance Statement #677
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#677
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dsanders11 on GitHub (Nov 7, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1408
Provenance statements are a nice way to increase confidence in the integrity of published npm packages. It would be great if this package adopted the practice.
A prerequisite to publishing with provenance statements would be to move the publish step to GitHub Actions. Happy to help with guidance there if you'd like any (regarding the workflow or setting up the npm token secret for publishing).
@DavidAnson commented on GitHub (Nov 8, 2024):
https://dlaa.me/blog/post/npmprovenance
@dsanders11 commented on GitHub (Nov 8, 2024):
Thanks for linking your blog post! Nice to see that you've considered it and shared your thoughts on it. Personally, I still believe there's value in it, so I hope you'll reconsider your stance in the future. 🙂
For what it's worth, regarding the bypassing 2FA concerns (very valid) Electron has been using a solution for that problem for quite some time now with Continuous Factor Auth (CFA). It's not a good fit for every project, but it has worked well for us and allows us to publish with a 2FA enabled account while also allowing a number of maintainers to provide the 2FA token without any of them having credentials for the publishing account.
@DavidAnson commented on GitHub (Nov 8, 2024):
If any of the claims I make are wrong, I am happy to learn why and reevaluate. :) But if they're right, what's the value of doing this?