Skip to content

CU-8687yhbz5 fixing bug in pub package #6

CU-8687yhbz5 fixing bug in pub package

CU-8687yhbz5 fixing bug in pub package #6

Workflow file for this run

name: Auto approve
on:
issue_comment:
types:
- created
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/github-script@v6
name: Approve LGTM Review
if: github.actor == 'ucswift' && contains(github.event.comment.body, 'Approve')
with:
script: |
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
review_id: 1,
event: 'APPROVE',
body: 'This PR is approved.'
})