Skip to content

Commit

Permalink
Revert "CI: Run benchmarks if PR is labeled with "run/benchmark" (#2958
Browse files Browse the repository at this point in the history
…)"

This reverts commit ecefd53.
  • Loading branch information
seisman committed Mar 21, 2024
1 parent dd8e0cd commit 3464e48
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ on:
paths:
- 'pygmt/**/*.py'
- '.github/workflows/benchmarks.yml'
# Run in PRs but only if the PR has the 'run/benchmark' label
pull_request:
types: [ opened, reopened, labeled, synchronize ]
# Uncomment the 'pull_request' line below to trigger the workflow in PR
# pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
Expand All @@ -29,7 +28,7 @@ concurrency:
jobs:
benchmarks:
runs-on: ubuntu-22.04
if: github.repository == 'GenericMappingTools/pygmt' && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run/benchmark'))
if: github.repository == 'GenericMappingTools/pygmt'
defaults:
run:
shell: bash -l {0}
Expand Down

0 comments on commit 3464e48

Please sign in to comment.