Skip to content

Bump nanoid from 3.3.6 to 3.3.8 in /frontend-app #119

Bump nanoid from 3.3.6 to 3.3.8 in /frontend-app

Bump nanoid from 3.3.6 to 3.3.8 in /frontend-app #119

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