Mayo Takanashi Copilot Autofix powered by AI commited on
Commit
4b0ec06
·
unverified ·
1 Parent(s): 8f641d7

Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#423)

Browse files

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

Files changed (1) hide show
  1. .github/workflows/build.yml +3 -0
.github/workflows/build.yml CHANGED
@@ -5,6 +5,9 @@ on:
5
  branches: ['main']
6
  pull_request:
7
 
 
 
 
8
  env:
9
  CARGO_TERM_COLOR: always
10
 
 
5
  branches: ['main']
6
  pull_request:
7
 
8
+ permissions:
9
+ contents: read
10
+
11
  env:
12
  CARGO_TERM_COLOR: always
13