Skip to content

Commit

Permalink
Don't run GitHub build workflow twice for Dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Jan 30, 2024
1 parent 9407534 commit 460b3d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Build

on: [push, pull_request]
on:
push:
branches-ignore:
# Ignore Dependabot branches because it will also open a pull request, which would cause the
# workflow to redundantly run twice
- dependabot/**
pull_request:


permissions:
contents: read # to fetch code (actions/checkout)
Expand Down

0 comments on commit 460b3d2

Please sign in to comment.