Skip to content

Snyk auto fix

Snyk auto fix #39

name: Auto reviews updates
on:
pull_request:
types:
- opened
- reopened
jobs:
auto-merge:
name: Auto reviews updates
runs-on: ubuntu-22.04
timeout-minutes: 5
if: github.event.pull_request.user.login == 'renovate[bot]'
steps:
- name: Auto reviews updates
uses: actions/github-script@v7
with:
script: |-
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
})