Skip to content

Commit 4e5c378

Browse files
authored
feat: 🔒️ Adding permissions for GitHub actions
1 parent c4b2c6c commit 4e5c378

3 files changed

Lines changed: 56 additions & 52 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
cd:
99
name: Continuous Delivery
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1113

1214
steps:
1315
- name: Run checkout

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
matrix:
1414
python-version: ["3.12", "3.13"]
1515

16-
name: Python ${{ matrix.python-version }}
16+
name: Continuous Integration ・ Python ${{ matrix.python-version }}
1717
runs-on: ubuntu-latest
18+
permissions:
19+
contents: read
1820

1921
steps:
2022
- name: Run checkout

0 commit comments

Comments
 (0)