Sha256: 6f9fe7b6c9c51318d11deb622bb4d0df08548a0f1098aa083864dc8c80afb647

Contents?: true

Size: 792 Bytes

Versions: 10

Compression:

Stored size: 792 Bytes

Contents

name: Auto-merge dependabot updates

on:
  pull_request:
    branches: [ main ]

permissions:
  pull-requests: write
  contents: write

jobs:

  dependabot-merge:

    runs-on: ubuntu-latest

    if: ${{ github.actor == 'dependabot[bot]' }}

    steps:
      - name: Dependabot metadata
        id: metadata
        uses: dependabot/fetch-metadata@v1.3.6
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"

      - name: Enable auto-merge for Dependabot PRs
        # Only if version bump is not a major version change
        if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
        run: gh pr merge --auto --merge "$PR_URL"
        env:
          PR_URL: ${{github.event.pull_request.html_url}}
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Version data entries

10 entries across 10 versions & 6 rubygems

Version Path
microsoft_graph-0.21.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph-0.20.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph_core-0.3.1 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_serialization_json-0.9.0 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_faraday-0.12.0 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_authentication_oauth-0.8.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph_core-0.3.0 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_abstractions-0.14.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph-0.19.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph-0.18.0 .github/workflows/auto-merge-dependabot.yml