@cryptotaxi247 / kubo / commits / d0afd218e

build: harden golang-analysis.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

Alex committed Nov 3, 2022 at 23:37 UTC d0afd218e179edc124b3bc2fe4738da817fce948
1 file changed +3
.github/workflows/golang-analysis.yml
+3
@@ -1,6 +1,9 @@
1 on: [push, pull_request]
2 name: Go Checks
3
4 +permissions:
5 + contents: read # to fetch code (actions/checkout)
6 +
7 jobs:
8 unit:
9 runs-on: ubuntu-latest