Skip to content

Commit

Permalink
ci: Disable some workflows for dependabot PRs
Browse files Browse the repository at this point in the history
Because they run a long time and aren't really necessary for PRs that
only update dependencies.
  • Loading branch information
larseggert committed Feb 10, 2025
1 parent b6e4cfc commit f86defb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/check-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions:

jobs:
check-vm:
if: github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@ jobs:

bench:
needs: [check]
if: ${{ !cancelled() && (github.event_name != 'workflow_dispatch' || github.event.inputs.run_benchmarks) }}
if: ${{ !cancelled() && (github.event_name != 'workflow_dispatch' || github.event.inputs.run_benchmarks) && github.actor != 'dependabot[bot]' }}
uses: ./.github/workflows/bench.yml
1 change: 1 addition & 0 deletions .github/workflows/qns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
jobs:
docker-image:
name: Build Docker image
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
outputs:
imageID: ${{ steps.docker_build_and_push.outputs.imageID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ defaults:

jobs:
sanitize:
if: github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit f86defb

Please sign in to comment.