Sha256: b551f07470e979cc98a4a331635a50c238a533872564cc5cc1acd29b24938e4b

Contents?: true

Size: 792 Bytes

Versions: 12

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.6.0
        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

12 entries across 12 versions & 6 rubygems

Version Path
microsoft_kiota_faraday-0.15.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph-0.22.2 .github/workflows/auto-merge-dependabot.yml
microsoft_graph_core-0.3.2 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_faraday-0.14.0 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_abstractions-0.14.4 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_faraday-0.13.0 .github/workflows/auto-merge-dependabot.yml
microsoft_graph_beta-0.11.0 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_abstractions-0.14.3 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_abstractions-0.14.2 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_abstractions-0.14.1 .github/workflows/auto-merge-dependabot.yml
microsoft_kiota_serialization_json-0.9.1 .github/workflows/auto-merge-dependabot.yml
microsoft_graph-0.22.1 .github/workflows/auto-merge-dependabot.yml