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 9cd9732 commit 175a9f6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,25 @@ jobs:
if: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && (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) }}
runs-on: ubuntu-latest
steps:
- env:
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') }}
PART2bb: ${{ !contains(github.event.head_commit.message, '[skip benchmarks]') }}
PART2bc: ${{ github.event.pull_request.draft == false }}
headcommitmessage: ${{ github.event.head_commit.message }}

run: |
echo $PART1
echo $PART2
echo $PART2a
echo $PART2b
echo $PART2ba
echo $PART2bb
echo $PART2bc
echo $headcommitmessage
- uses: actions/checkout@v4
- name: Download Buildkite Artifacts
id: download
Expand Down

0 comments on commit 175a9f6

Please sign in to comment.