Dependabot

Set up dependabot to run once a day for ruby, javascript and github actions
Icons/chart bar
Used 62 times
Created by
T TobiasBales

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/V2GsZd"
Template Source

Review the code before running this template on your machine.

create_file '.github/dependabot.yml' do <<~YAML
  version: 2
  updates:
    - package-ecosystem: "npm"
      directory: "/"
      schedule:
        interval: "weekly"
      labels:
        - npm
        - dependencies
        - automerge

    - package-ecosystem: "bundler"
      directory: "/"
      schedule:
        interval: "weekly"
      labels:
        - bundler
        - dependencies
        - automerge

    - package-ecosystem: "github-actions"
      directory: "/"
      schedule:
        interval: "weekly"
      labels:
        - github-actions
        - dependencies
        - automerge
  YAML
end
Comments

Sign up or Login to leave a comment.