Skip to content

Commit 621b647

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 1ba9ef7 commit 621b647

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on: push
33
jobs:
44
lint-and-test:
55
if: github.ref_type == 'tag'
6+
permissions:
7+
contents: read
68
name: Run linter and tests
79
uses: ./.github/workflows/Lint-and-test.yml
810
build:

0 commit comments

Comments
 (0)