Skip to content

chore(deps-dev): bump ruby-lsp-rails from 0.3.3 to 0.3.6 #24

chore(deps-dev): bump ruby-lsp-rails from 0.3.3 to 0.3.6

chore(deps-dev): bump ruby-lsp-rails from 0.3.3 to 0.3.6 #24

name: Dependabot auto-merge
on:
pull_request_target:
paths:
- "Gemfile*"
- package.json
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
run: |
gh pr merge --auto --merge "$PR_URL"
gh pr review "$PR_URL" --approve --body "Approved by [bot](https://github.com/caley-io/email-rails/actions/workflows/dependabot_auto_merge.yml)"
gh pr edit "$PR_URL" --add-label "Ship it!"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}