Skip to content

build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 #9

build(deps): bump actions/setup-node from 6.4.0 to 7.0.0

build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 #9

name: Dependabot auto-merge
on: pull_request
permissions: {}
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'graycoreio/magento2-devcontainer'
steps:
# Approve and merge as gray-bot, a code owner of the dependency
# files, so the review satisfies "Require review from Code Owners".
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
- name: Enable auto-merge
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}