Skip to content

Commit

Permalink
Temp and minor change for testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jlb6740 committed Sep 13, 2022
1 parent 8f1fad7 commit 7c25ac6
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: "Performance Testing"
on:
pull_request_review_comment:
types: [created, edited]
# push:
push:

# Env variables
env:
Expand All @@ -23,19 +23,7 @@ jobs:
runs-on: ubuntu-latest
# if: (github.event_name == 'push') && (github.repository != 'bytecodealliance/wasmtime-sightglass-benchmarking')
if: |
startsWith(github.event.comment.body, '/bench_x64') &&
(github.event.issue.pull_request_review_comment) &&
(('abrown' == github.event.comment.user.login)
|| ('afonso360' == github.event.comment.user.login)
|| ('akirilov-arm' == github.event.comment.user.login)
|| ('alexcrichton' == github.event.comment.user.login)
|| ('bbouvier' == github.event.comment.user.login)
|| ('bjorn3' == github.event.comment.user.login)
|| ('cfallin' == github.event.comment.user.login)
|| ('fitzgen' == github.event.comment.user.login)
|| ('jlb6740' == github.event.comment.user.login)
|| ('sparker-arm' == github.event.comment.user.login)
|| ('uweigand' == github.event.comment.user.login))
startsWith(github.event.review_comment.body, '/bench_x64')
steps:
- run: echo "MESSAGE=Requested from pull request comment." >> $GITHUB_ENV
- run: echo "ACTOR=${{ github.event.comment.user.login }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -67,7 +55,7 @@ jobs:
runs-on: [self-hosted, linux, x64]
if: (github.event_name == 'push') && (github.repository == 'bytecodealliance/wasmtime-sightglass-benchmarking')
steps:
# - run: echo "$GITHUB_CONTEXT"
- run: echo "$GITHUB_CONTEXT"
- run: echo "${{ github.event.head_commit.message }}"
# - name: "Build sightglass commit '${{ env.SG_COMMIT }}'"
# run: |
Expand Down

0 comments on commit 7c25ac6

Please sign in to comment.