Skip to content

Commit

Permalink
ci: Skip benchmarks for dependabot (#1144)
Browse files Browse the repository at this point in the history
PR: Skip benchmarks if pull_request is triggered by dependabot.
  • Loading branch information
shahzadlone committed Feb 28, 2023
1 parent f8ebc86 commit 92a7f89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint-then-benchmark.yml
Expand Up @@ -117,7 +117,8 @@ jobs:
if: |
github.event_name == 'pull_request' &&
github.base_ref != 'develop' ||
contains(github.event.pull_request.labels.*.name, 'action/no-benchmark')
contains(github.event.pull_request.labels.*.name, 'action/no-benchmark') ||
github.actor == 'dependabot[bot]'
run: echo "DEFAULT_BENCHMARK_TYPE=NONE" >> ${GITHUB_ENV}

- name: Run full benchmarks if merged PR (push event) on develop
Expand Down

0 comments on commit 92a7f89

Please sign in to comment.