Skip to content

Commit 9c2ddea

Browse files
committed
ci: update perms and fix GitHub App token references in workflows
1 parent 5343a3d commit 9c2ddea

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
- name: Install Dependencies
4646
run: |
4747
pip install -r requirements.txt
48-
playwright install --with-deps chromium
4948
5049
- name: Run tests with coverage
5150
run: |

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- "pyproject.toml"
1313
- "Dockerfile"
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
release:
1720
if: |
@@ -40,8 +43,8 @@ jobs:
4043
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
4144
id: app-token
4245
with:
43-
app-id: ${{ secrets.APP_ID }}
44-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
46+
app-id: ${{ secrets.GH_APP_ID }}
47+
private-key: ${{ secrets.GH_PRIVATE_KEY }}
4548

4649
- name: Checkout Code
4750
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)