Skip to content

The close() method does not automatically exit the process while using dialect mysql #211

The close() method does not automatically exit the process while using dialect mysql

The close() method does not automatically exit the process while using dialect mysql #211

name: Label new issues with pending-approval
on:
issues:
types:
- opened
permissions:
contents: read
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["pending-approval"]
})