Skip to content

Commit 346d386

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Autofix for https://github.com/railsware/mailtrap-python/security/code-scanning/1 Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 722a718 commit 346d386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Tests and checks
22

33
on: push
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
check:
710
name: Test python${{ matrix.python }} on ${{ matrix.os }}

0 commit comments

Comments
 (0)