ci: uses PAT token for benchmarks and examples

This commit is contained in:
Alexander Akait 2025-04-25 14:49:20 +03:00 committed by GitHub
parent ad77deb6ed
commit 972997c5c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ name: "Update examples"
on: on:
schedule: schedule:
- cron: "0 0 * * 0" - cron: "*/5 * * * *"
permissions: permissions:
contents: read contents: read

View File

@ -89,6 +89,7 @@ jobs:
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
uses: peter-evans/create-or-update-comment@v4 uses: peter-evans/create-or-update-comment@v4
with: with:
token: ${{ secrets.PAT }}
comment-id: ${{ steps.fc.outputs.comment-id }} comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
body-path: "./test/js/benchmark.md" body-path: "./test/js/benchmark.md"