Skip to content

Commit

Permalink
[skip benchmarks]
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Dec 16, 2024
1 parent 3db308e commit 2a92095
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- env:
COMMITS: ${{ github.event.pull_request.commits }}
COMMITCOUNT: ${{ github.event.commits[0] }}
PART1: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
PART2: ${{ (contains(github.event.head_commit.message, '[only benchmarks]') || !contains(github.event.head_commit.message, '[only') && !contains(github.event.head_commit.message, '[skip benchmarks]') && github.event.pull_request.draft == false) }}
PART2a: ${{ contains(github.event.head_commit.message, '[only benchmarks]') }}
PART2b: ${{ !contains(github.event.head_commit.message, '[only') && !contains(github.event.head_commit.message, '[skip benchmarks]') && github.event.pull_request.draft == false }}
PART2ba: ${{ !contains(github.event.head_commit.message, '[only') && !contains(github.event.head_commit.message, '[skip benchmarks]') && github.event.pull_request.draft == false }}
PART2bb: ${{ !contains(github.event.head_commit.message, '[skip benchmarks]') }}
PART2bc: ${{ github.event.pull_request.draft == false }}
run: |
echo $COMMITS
echo $COMMITCOUNT
echo $PART1
echo $PART2
echo $PART2a
echo $PART2b
echo $PART2ba
echo $PART2bb
echo $PART2bc
- uses: actions/checkout@v4
- name: Download Buildkite Artifacts
id: download
Expand Down

0 comments on commit 2a92095

Please sign in to comment.