Skip to content

Commit

Permalink
[Dependabot] [CI] Re-configure Dependabot and disable duplicate builds (
Browse files Browse the repository at this point in the history
  • Loading branch information
amogkam authored and edoakes committed Jan 13, 2021
1 parent 198c72c commit 690a366
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ updates:
# If we want to add more requirements here (Core, RLlib, etc.), then we should make subdirectories for each one.
directory: "/python/requirements"
schedule:
# TODO(amogkam) change this to weekly after some initial validation.
interval: "daily"
# 8 PM
time: "20:00"
# Automatic upgrade checks Saturday at 12 AM.
# Dependabot updates can still be manually triggered via Github at any time.
interval: "weekly"
day: "saturday"
# 12 AM
time: "00:00"
# Use Pacific Standard Time
timezone: "America/Los_Angeles"
commit-message:
prefix: "[tune]"
include: "scope"
# Only 3 upgrade PRs at a time.
# Only 3 upgrade PRs open at a time.
open-pull-requests-limit: 3
reviewers:
- "ray-project/ray-tune"
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push, pull_request]
on:
push:
branches-ignore:
# Don't run CI for Dependabot branch pushes.
- "dependabot/**"
pull_request:

env:
# Git GITHUB_... variables are useful for translating Travis environment variables
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ git:
depth: false # Shallow clones can prevent diff against base branch
quiet: true

branches:
except:
- /dependabot.*/

before_install:
- unset -f cd # Travis defines this on Mac for RVM, but it breaks the Mac build
- |
Expand Down

0 comments on commit 690a366

Please sign in to comment.