Fix typo in provenance GitHub Actions workflow snippet (#590)
The key must be exactly "permissions" (not "permission"). The full example workflow below this snippet uses the correct key.
Eric Cornelissen committed
Apr 21, 2023 at 03:46 UTC
75d99082c29917c086e072375a712690ef742416
1 file changed
+2
-2
content/packages-and-modules/securing-your-code/generating-provenance-statements.mdx
+2
-2
@@ -48,7 +48,7 @@ To update your GitHub Actions workflow to publish your packages with provenance,
48
- Give permission to mint an ID-token:
49
50
```
51
- permission:
51
+ permissions:
52
id-token: write
53
```
54
@@ -113,4 +113,4 @@ If you publish your packages with tools that do not directly invoke the `npm pub
113
[publishing-with-provenance]: #publishing-packages-with-provenance
114
[update-npm]: /try-the-latest-stable-version-of-npm
115
[github-actions]: https://docs.github.com/en/actions
116
-[understand-actions]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
\ No newline at end of file
116
+[understand-actions]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions