Skip to content

⬆ Bump @babel/core from 7.22.5 to 7.22.20 #568

⬆ Bump @babel/core from 7.22.5 to 7.22.20

⬆ Bump @babel/core from 7.22.5 to 7.22.20 #568

Workflow file for this run

name: Pull Request
on:
pull_request_target:
jobs:
automerge:
name: Automerge
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Automerge and Approve
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GH_PAT }}
script: |
await github.graphql(`
mutation($id: ID!) {
enablePullRequestAutoMerge(input: {
mergeMethod: SQUASH,
pullRequestId: $id
}) { clientMutationId }
addPullRequestReview(input: {
event: APPROVE,
pullRequestId: $id
}) { clientMutationId }
}
`, {
id: context.payload
.pull_request.node_id
});