Dependabot

Dependabot Pull Request Action

Name: dependabot/pull-request-action

Usage instructions

Create a workflow file that contains a step that uses: dependabot/pull-request-action@v1`, e.g.

-- .github/workflows/dependabot-prs.yml
name: Dependabot Pull Request
on: pull_request_target

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Fetch Dependabot metadata
      id: metadata
      uses: dependabot/pull-request-action
      with:
        github-token: "${{ secrets.GITHUB_TOKEN }}"

Subsequent actions will have access to steps.metadata.outputs.dependabot-updated-dependencies which will contain a JSON object with information about the changes, e.g.

[
  {
    "name": "dependabot-core",
    "type": "direct:production",
    "updateType": "version-update:semver-major"
  }
]

Note: This output will only be populated if the target Pull Request was opened by Dependabot and contains only Dependabot-created commits.

Auto-approving

NYI

Enabling GitHub automerge

NYI

Why?

NYI

Development and release process

NYI

Description
No description provided
Readme MIT 7.6 MiB
Languages
TypeScript 97.7%
JavaScript 1.4%
Shell 0.9%