Apply suggestions from code review
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
Alex committed
Mar 7, 2023 at 23:01 UTC
0f65594d9e8e8803eb306d40a46c4b19221ffd9e
2 files changed
+3
-6
.github/workflows/codeql-analysis.yml
+1
-3
@@ -13,12 +13,10 @@ on:
13
14
permissions:
15
contents: read # to fetch code (actions/checkout)
16
+ security-events: write # (github/codeql-action/autobuild)
17
18
jobs:
19
analyze:
19
- permissions:
20
- contents: read # to fetch code (actions/checkout)
21
- security-events: write # (github/codeql-action/autobuild)
20
21
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
22
name: Analyze
.github/workflows/sync-release-assets.yml
+2
-3
@@ -9,11 +9,10 @@ concurrency:
9
group: release-assets-dist-sync
10
cancel-in-progress: true
11
12
-permissions: {}
12
+permissions:
13
+ contents: write # to upload release asset
14
jobs:
15
sync-github-and-dist-ipfs-tech:
15
- permissions:
16
- contents: write # to upload release asset
16
17
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
18
runs-on: "ubuntu-latest"