Skip to content

Commit 007daeb

Browse files
committed
refactor: Add the app-token generation step back.
1 parent 3ade6b1 commit 007daeb

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/monitoring.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ jobs:
3131
steps:
3232
- name: Checkout Repository
3333
uses: actions/checkout@v4
34-
# - uses: actions/create-github-app-token@v2
35-
# id: app-token
36-
# with:
37-
# app-id: ${{ vars.APP_ID }}
38-
# private-key: ${{ secrets.PRIVATE_KEY }}
34+
- uses: actions/create-github-app-token@v2
35+
id: app-token
36+
with:
37+
app-id: ${{ vars.APP_ID }}
38+
private-key: ${{ secrets.PRIVATE_KEY }}
3939
- name: Create Issue and mention team
4040
run: |
4141
gh issue create --title "[testing] Subgraph Indexing unbalanced" --body "${{ vars.TEAM_NAME }}: **Workflow failure** [View workflow run for details](https://github.com/${{ github.repository}}/actions/runs/${{ github.run_id}})"
4242
env:
43-
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)