rust-lang / cfg-if

A if/elif-like macro for Rust #[cfg] statements
Apache License 2.0
557 stars 40 forks source link

Set minimal permissions to github workflow main.yml #59

Closed joycebrum closed 1 year ago

joycebrum commented 1 year ago

Changes

Closes #58

I've set the main.yml top level permission to contents: read and it worked fine (see https://github.com/joycebrum/cfg-if/actions/runs/4419853661)

Thanks!