Skip to content

Commit

Permalink
Specify condition for running tests workflow: ignore dependabot branc…
Browse files Browse the repository at this point in the history
…hes, run only on PR
  • Loading branch information
ericpre committed May 18, 2024
1 parent e1b7022 commit 0ba9d6d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/package_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Package & Test

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/*'
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
package_and_test:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Tests

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/*'
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
run_test_site:
Expand Down

0 comments on commit 0ba9d6d

Please sign in to comment.