Skip to content

build(deps): bump the graycore-actions group with 2 updates #1

build(deps): bump the graycore-actions group with 2 updates

build(deps): bump the graycore-actions group with 2 updates #1

Workflow file for this run

name: Dependabot auto-approve
on:
pull_request:
types: [opened, synchronize, reopened]
permissions: {}
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'graycoreio/magento2-graphql-logger'
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 for Dependabot PRs
run: gh pr merge --auto --delete-branch --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}