Skip to content

docs: update permissions to use new none format#68

Merged
cpanato merged 1 commit intosigstore:mainfrom
JamieMagee:permissions-none
Apr 1, 2022
Merged

docs: update permissions to use new none format#68
cpanato merged 1 commit intosigstore:mainfrom
JamieMagee:permissions-none

Conversation

@JamieMagee
Copy link
Copy Markdown
Contributor

Summary

GitHub actions now has a 'none-all' shorthand1

You can use the following syntax to disable permissions for all of the available scopes:

permissions: {}

This is the same behaviour as before, but is more intuitive than actions: none

Ticket Link

N/A

Release Note

NONE

Footnotes

  1. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

@cpanato
Copy link
Copy Markdown
Member

cpanato commented Apr 1, 2022

thanks for this PR @JamieMagee, can you please sign the DCO?

GitHub actions now has a 'none-all' shorthand[^1]

> You can use the following syntax to disable permissions for all of the available scopes:
>
> ```
> permissions: {}
>

This is the same behaviour as before, but is more intuitive than `actions: none`

[^1]: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

Signed-off-by: Jamie Magee <jamie.magee@gmail.com>
@JamieMagee
Copy link
Copy Markdown
Contributor Author

Done!

@cpanato
Copy link
Copy Markdown
Member

cpanato commented Apr 1, 2022

thanks!

@cpanato cpanato merged commit 9f7b96f into sigstore:main Apr 1, 2022
@JamieMagee JamieMagee deleted the permissions-none branch April 1, 2022 17:56
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