Skip to content

Commit 3464e48

Browse files
committed
Revert "CI: Run benchmarks if PR is labeled with "run/benchmark" (#2958)"
This reverts commit ecefd53.
1 parent dd8e0cd commit 3464e48

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ on:
1212
paths:
1313
- 'pygmt/**/*.py'
1414
- '.github/workflows/benchmarks.yml'
15-
# Run in PRs but only if the PR has the 'run/benchmark' label
16-
pull_request:
17-
types: [ opened, reopened, labeled, synchronize ]
15+
# Uncomment the 'pull_request' line below to trigger the workflow in PR
16+
# pull_request:
1817
# `workflow_dispatch` allows CodSpeed to trigger backtest
1918
# performance analysis in order to generate initial data.
2019
workflow_dispatch:
@@ -29,7 +28,7 @@ concurrency:
2928
jobs:
3029
benchmarks:
3130
runs-on: ubuntu-22.04
32-
if: github.repository == 'GenericMappingTools/pygmt' && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run/benchmark'))
31+
if: github.repository == 'GenericMappingTools/pygmt'
3332
defaults:
3433
run:
3534
shell: bash -l {0}

0 commit comments

Comments
 (0)