Skip to content

Commit

Permalink
ci(benchmark): add PR permissions for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Oct 29, 2023
1 parent 268882b commit 847bf31
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Benchmark
on:
push:
paths:
- 'lib/**'
- "lib/**"
pull_request:
branches:
- master
paths-ignore:
- 'test/scripts/**'
- "test/scripts/**"

jobs:
benchmark:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['14', '16', '18']
node-version: ["14", "16", "18"]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -30,10 +30,12 @@ jobs:
run: node test/benchmark.js --benchmark
profiling:
runs-on: ${{ matrix.os }}
permissions:
pull-requests: write # for marocchino/sticky-pull-request-comment to create or update PR comment
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['14', '16', '18']
node-version: ["14", "16", "18"]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 847bf31

Please sign in to comment.