Sha256: cb379acf177bd53df24c798208eb4d574d7fe7d84681de8f2b58df5b1143ecc7

Contents?: true

Size: 1007 Bytes

Versions: 8

Compression:

Stored size: 1007 Bytes

Contents

# This workflow auto-approves pull-requests when the github actor is a
# dependabot user and it is opening a new pull request.
#
# The problem that this workflow solves is that we have branch protection on
# our repositories that prevent PRs from merging unless there is an
# approval present. The problem is that this will block PRs that dependabot
# may want to merge automatically. Auto-approving dependabot PRs will allow
# the automatic merge to complete. We control what gets automerged through
# the dependabot configuration.
#
# This is a known issue: https://github.com/dependabot/feedback/issues/852
name: Auto-approve dependabot pull requests
on:
  pull_request:
    types: [opened]

jobs:
  dependabot-triage:
    runs-on: ubuntu-latest
    if: (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')

    steps:
      - name: Auto-approve for dependabot
        uses: hmarr/auto-approve-action@v2.0.0
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
panolint-0.1.6 .github/workflows/auto-approve-dependabot.yml
panolint-0.1.5 .github/workflows/auto-approve-dependabot.yml
panolint-0.1.4 .github/workflows/auto-approve-dependabot.yml
external_fields-0.1.3 .github/workflows/auto-approve-dependabot.yml
memo_wise-0.4.0 .github/workflows/auto-approve-dependabot.yml
panolint-0.1.3 .github/workflows/auto-approve-dependabot.yml
order_as_specified-1.7 .github/workflows/auto-approve-dependabot.yml
memo_wise-0.3.0 .github/workflows/auto-approve-dependabot.yml