Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(actions): skip benchmark on fork #6489

Merged
merged 1 commit into from Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/bench.yml
@@ -1,8 +1,11 @@
name: Benchmark

on:
- push
- pull_request
pull_request:
types: ['opened', 'reopened', 'synchronize']
push:
branches:
- main

env:
RUST_LOG: "off"
Expand All @@ -11,7 +14,7 @@ jobs:
binary-size:
name: Binary size
if: >-
${{ !contains(github.event.head_commit.message, 'chore: ') }}
${{ !contains(github.event.head_commit.message, 'chore: ') && github.repository_owner == 'swc-project' }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -40,7 +43,7 @@ jobs:
benchmark:
name: Performance regression check
if: >-
${{ !contains(github.event.head_commit.message, 'chore: ') }}
${{ !contains(github.event.head_commit.message, 'chore: ') && github.repository_owner == 'swc-project' }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand Down