Skip to content

Add try-catch to update scan (AST-65497) #168

Add try-catch to update scan (AST-65497)

Add try-catch to update scan (AST-65497) #168

Workflow file for this run

name: PR Automation
on:
pull_request_target:
types: [ready_for_review, opened, reopened]
permissions:
contents: none
issues: write
pull-requests: write
jobs:
add-reviewers:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.type != 'Bot' }}
steps:
- name: Request reviewers
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
PRNUM: ${{ github.event.pull_request.number }}
PRAUTHOR: ${{ github.event.pull_request.user.login }}
run: gh pr edit $PRNUM