Skip to content

Bump next from 14.1.1 to 14.2.15 in /frontend-app #120

Bump next from 14.1.1 to 14.2.15 in /frontend-app

Bump next from 14.1.1 to 14.2.15 in /frontend-app #120

name: "Dependabot Automerge - Action"
on:
pull_request:
jobs:
worker:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Automerge
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT }}
script: |
console.log("Context: ", context);
await github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
});
await github.rest.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number
});