uber-go / dig

A reflection based dependency injection toolkit for Go.
https://go.uber.org/dig
MIT License
3.78k stars 206 forks source link

Minimize permissions to CI workflows #382

Closed sywhang closed 1 year ago

sywhang commented 1 year ago

Set only read permission on CI workflows since they don't need write access.

codecov[bot] commented 1 year ago

Codecov Report

Merging #382 (704dd5f) into master (7f9f0b8) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #382   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files          21       21           
  Lines        1458     1458           
=======================================
  Hits         1434     1434           
  Misses         15       15           
  Partials        9        9           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more