Skip to content

Bump mongoose from 7.5.0 to 8.8.3 in /backend-app #116

Bump mongoose from 7.5.0 to 8.8.3 in /backend-app

Bump mongoose from 7.5.0 to 8.8.3 in /backend-app #116

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
});