GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dependabot/example-cli-usage: Demonstrates how to self-host Dependabot :dependabot:

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bundler-example
bundler-example
 
 
go-example
go-example
 
 
.gitignore
.gitignore
 
 
CODEOWNERS
CODEOWNERS
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
create.sh
create.sh
 
 

Repository files navigation

Dependabot

Example Dependabot CLI Usage

This repo serves as an example of how to use Dependabot CLI for updates. It is intended as a starting point for advanced users to run a self-hosted version of Dependabot within their own projects.

For a hassle-free Dependabot experience, check out the hosted Dependabot Service.

This repo uses an Action which downloads and runs Dependabot CLI. To run the Action you would go to the Action in the Actions tab, and run it.

To see what the results look like, go check out the Pull Requests.

While this example repo runs on GitHub Actions, none of the Dependabot bits are specific to GitHub, so it should be straightforward to port it to any other CI system.

Implementation details

The Action is defined at .github/workflows/example.yml.

It contains two jobs, the first downloads and runs Dependabot CLI. The inputs for the CLI runs are in .github/dependabot. See the Dependabot CLI repo for more info on inputs such as credentials and groupings.

The results are redirected to a file and uploaded as artifacts.

The second job downloads the artifact and creates PRs from it using the script create.sh.

The reason there are two jobs is Dependabot CLI should only run with read-only tokens as some ecosystems may execute arbitrary code. To achieve that in Actions we must use two jobs with permissions defined differently.

Also take a look at the Dependabot Smoke Tests repo for example inputs and expected outputs.

Where can I go for help?

If you are having issues with the updates to a specific ecosystem, head over to dependabot-core.

If there is a problem with running the Dependabot CLI, report that in the CLI repo.

We do not provide direct support for the scripts and workflows in this repo, this is only to serve as an example.

About

Demonstrates how to self-host Dependabot :dependabot:

Resources

Readme
MIT license

Security policy

Security policy
Activity
Custom properties

Stars

58 stars

Watchers

8 watching

Forks

33 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.