Skip to content

Commit 370a309

Browse files
committed
set token on action
1 parent c72bba1 commit 370a309

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-zudoku.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: generate-token
1717
uses: actions/create-github-app-token@v1
1818
with:
19-
app-id: "1124747"
19+
app-id: ${{ vars.INTEGRATIONS_APP_ID }}
2020
private-key: ${{ secrets.INTEGRATIONS_APP_PRIVATE_KEY }}
2121

2222
- uses: actions/checkout@v4
@@ -39,8 +39,8 @@ jobs:
3939
- run: git config --global user.name "Zudoku Bot"
4040

4141
- name: Commit and push if there are changes
42-
env:
43-
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
4442
run: |
4543
git add -A
4644
git diff --staged --quiet || (git commit -m "Updated Zudoku Package" && git push origin main)
45+
env:
46+
GH_TOKEN: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)