Skip to content

alphagov-mirror/govuk-dependencies

This branch is 117 commits behind alphagov/govuk-dependencies:main.

Folders and files

NameName
Last commit message
Last commit date
Jul 16, 2020
Oct 10, 2019
Feb 8, 2021
Nov 6, 2019
Feb 8, 2021
Feb 13, 2018
Nov 6, 2019
Oct 10, 2019
Feb 3, 2021
Nov 11, 2019
Oct 8, 2020
Nov 2, 2020
Nov 2, 2020
Oct 9, 2018
Jan 24, 2018
Nov 6, 2019
Jul 20, 2020
Jan 23, 2018
Nov 6, 2019
Oct 10, 2019
Oct 10, 2019
Oct 10, 2019

Repository files navigation

govuk-dependencies

A tool for:

  • Viewing all of the outstanding open pull requests made by Dependabot to GOV.UK repos
  • Sending Slack messages to GDS Teams reminding them of open Dependabot PRs for their applications

Screenshots

screenshot

Live examples

Technical documentation

This is a Sinatra application that uses the GitHub API in order to get a list of of PRs made by Dependabot and groups them in various ways:

  • By application
  • By team
  • By gem

Dependencies

Running the application

bundle exec rackup

Running this will start your application at localhost:9292

Running the test suite

bundle exec rake

Environment variables

  • GITHUB_TOKEN - OAuth token generated on GitHub which does not require any special permissions
    • Used to interact with the GitHub API, although not required it will help avoid limiting
  • SLACK_WEBHOOK_URL - The webhook URL for sending Slack messages to
  • DEPENDAPANDA_SECRET - Secret token for manually requesting Slack messages

Rate limiting

If you find yourself being rate limited by GitHub - you can define the GITHUB_TOKEN environment variable. This needs to be a token generated from GitHub, however as the repositories are all public it needs no special permissions.

About

A tool to keep track of Dependabot pull requests

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 94.8%
  • HTML 3.6%
  • CSS 1.6%