Build: Don't run CI push workflows for dependabot branches

Without this change, dependabot PRs run double checks - one set for the `push`
part and one for the `pull_request` part.

Closes gh-5353

(cherry picked from commit 635cb152e7)
This commit is contained in:
Michał Gołębiowski-Owczarek 2023-11-13 18:18:20 +01:00 committed by Michał Gołębiowski-Owczarek
parent b5b43adace
commit d354a45c3f
No known key found for this signature in database

View File

@ -1,6 +1,9 @@
name: CI
on: [push, pull_request]
on:
pull_request:
push:
branches-ignore: "dependabot/**"
permissions:
contents: read # to fetch code (actions/checkout)