Giter Club home page Giter Club logo

dependabot-whitelist's Introduction

CI RELEASE

NAV Logo

Dependabot Whitelist Action

Name: navikt/dependabot-whitelist

Checks if a dependency update from a Dependabot-generated PR is whitelisted. This is useful when we want to enable auto-merging trusted dependencies. Unlike whitelisting in Dependabots allow configuration, this action will preserve the pull-request, making it a notice and available for manual review.

Usage Instruction

Create a workflow for e.g. pull_request_target

name: Dependabot Pull Request
on: pull_request_target
jobs:
  check-whitelist:
    runs-on: ubuntu-latest
    if: github.actor == 'dependabot[bot]'
    steps:
      - uses: navikt/dependabot-whitelist@v1
        with:
          whitelist: |
            io.ktor:ktor-server-netty
            jvm
            org.jetbrains.kotlinx:kotlinx-coroutines-jdk8

This action will fail with exit code 1 on any violation.

Configuration

No dependencies are whitelisted by default.

Major versions often comes with breaking changes or additional required actions, that makes it applicable for human review like going through the changelog or waiting for zero days threats etc.

Option Required Default Value Description
whitelist yes '' A multi-line string of packages
major no false Whitelist major versions
minor no true Whitelist minor versions
patch no true Whitelist patch versions
token no ${{ github.token }} An alternative to the default GitHub Token

dependabot-whitelist's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar rtc11 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.