Skip to content

Commit 54bedcb

Browse files
committed
ci(codeql): set explicit permissions
1 parent 4e8b669 commit 54bedcb

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/security.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ name: "Security"
44
on:
55
workflow_dispatch:
66

7+
permissions:
8+
contents: read
9+
710
env:
811
python_version: "3.13"
912

{{cookiecutter.project_name|replace(" ", "")}}/.github/workflows/security.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
{%- endif %}
1515
workflow_dispatch:
1616

17+
permissions:
18+
contents: read
19+
1720
env:
1821
python_version: "{{ cookiecutter.python_version }}"
1922

0 commit comments

Comments
 (0)