mirror of https://github.com/webpack/webpack.git
ci: uses PAT token for benchmarks and examples
This commit is contained in:
parent
ad77deb6ed
commit
972997c5c5
|
@ -2,7 +2,7 @@ name: "Update examples"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 0"
|
- cron: "*/5 * * * *"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue