Skip to content

Commit 07b19cb

Browse files
Potential fix for code scanning alert no. 3: Workflow does not contain permissions (#355)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e9a1bf2 commit 07b19cb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
concurrency:
77
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
88
cancel-in-progress: true
9+
permissions:
10+
contents: read
911
jobs:
1012
build:
1113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)