From 346d386694f3d94f57c2f6c8fbf0efe682c87ecb Mon Sep 17 00:00:00 2001 From: Marcin Klocek Date: Tue, 13 May 2025 08:19:59 +0200 Subject: [PATCH] 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> --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a4e1394..8181dbb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,9 @@ name: Tests and checks on: push +permissions: + contents: read + jobs: check: name: Test python${{ matrix.python }} on ${{ matrix.os }}