Skip to content

BelongsToMany stops working after closing a connection and redefining with a new Sequelize instance: ConnectionManager.getConnection() was called after the connection manager was closed #223

BelongsToMany stops working after closing a connection and redefining with a new Sequelize instance: ConnectionManager.getConnection() was called after the connection manager was closed

BelongsToMany stops working after closing a connection and redefining with a new Sequelize instance: ConnectionManager.getConnection() was called after the connection manager was closed #223

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"]
})