Skip to content

Commit edef7c5

Browse files
committed
Add permissions to workflow
1 parent 28a8fee commit edef7c5

File tree

7 files changed

+22
-0
lines changed

7 files changed

+22
-0
lines changed

.github/workflows/main_py310.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PyGAD PyTest / Python 3.10
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/main_py311.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PyGAD PyTest / Python 3.11
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/main_py312.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PyGAD PyTest / Python 3.12
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/main_py313.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PyGAD PyTest / Python 3.13
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/main_py38.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PyGAD PyTest / Python 3.8
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/main_py39.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PyGAD PyTest / Python 3.9
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/scorecard.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# policy, and support documentation.
44

55
name: Scorecard supply-chain security
6+
7+
permissions:
8+
contents: read
9+
610
on:
711
# This allows you to run the workflow manually from the Actions tab
812
workflow_dispatch:

0 commit comments

Comments
 (0)