Sha256: 8b1d0ca8929e5bebbd6f80d3beaee3ac40cc365272dcf0fba05784e56d10855f

Contents?: true

Size: 815 Bytes

Versions: 5

Compression:

Stored size: 815 Bytes

Contents

name: Merge dependabot PRs automatically
on: pull_request_target

permissions:
  pull-requests: write
  contents: write

env:
  blocker_files: rbs.gemspec Gemfile steep/Gemfile

jobs:
  dependabot:
    runs-on: ubuntu-latest
    if: ${{ github.actor == 'dependabot[bot]' }}
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Abort if blocker files are changed
        run: git diff --exit-code ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} ${{ env.blocker_files }}
      - name: Enable auto-merge for Dependabot PRs
        run: gh pr merge --auto --merge "$PR_URL"
        env:
          PR_URL: ${{github.event.pull_request.html_url}}
          GH_TOKEN: ${{secrets.DEPENDABOT_MERGE_GH_TOKEN}}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbs-3.5.3 .github/workflows/dependabot.yml
rbs-3.5.2 .github/workflows/dependabot.yml
rbs-3.5.1 .github/workflows/dependabot.yml
rbs-3.5.1.pre.1 .github/workflows/dependabot.yml
rbs-3.5.0 .github/workflows/dependabot.yml