Skip to content

Commit

Permalink
Fix change detection git ref (privacy-scaling-explorations#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham authored Sep 8, 2023
1 parent d102a28 commit 702ee84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bench_pr_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ jobs:
&& github.event.issue.state == 'open'
&& contains(github.event.comment.body, '!benchmark')
&& (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
# Required permissions
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
spartan: ${{ steps.filter.outputs.spartan }}
supernova: ${{ steps.filter.outputs.supernova }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: xt0rted/pull-request-comment-branch@v2
id: comment-branch
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
filters: |
spartan:
- 'src/spartan/**'
Expand Down

0 comments on commit 702ee84

Please sign in to comment.