Skip to content

Commit 0190e0c

Browse files
Update .github/workflows/license-check-python.yml
1 parent fae9eda commit 0190e0c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/license-check-python.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Python License Check
22

33
on:
44
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
85

96
jobs:
107
license-check:
@@ -17,8 +14,8 @@ jobs:
1714
id: get-token
1815
uses: actions/create-github-app-token@v2
1916
with:
20-
app-id: ${{ inputs.app-id }}
21-
private-key: ${{ inputs.app-private-key }}
17+
app-id: ${{ vars.APP_ID }}
18+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
2219
owner: ${{ github.repository_owner }}
2320
permission-contents: read
2421

0 commit comments

Comments
 (0)