Skip to content

Bump ruby/setup-ruby from 1.316.0 to 1.319.0 in the all group #35

Bump ruby/setup-ruby from 1.316.0 to 1.319.0 in the all group

Bump ruby/setup-ruby from 1.316.0 to 1.319.0 in the all group #35

name: Auto-merge Dependabot PRs
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Approve PR
run: |
gh pr review --approve "${{ github.event.pull_request.number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge
run: |
gh pr merge \
--squash \
--auto \
"${{ github.event.pull_request.number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}