Skip to content

Sequelize considering camelCase'd foreign keys as fields different than snake_case'd on database (even with 'underscored: true' option) #213

Sequelize considering camelCase'd foreign keys as fields different than snake_case'd on database (even with 'underscored: true' option)

Sequelize considering camelCase'd foreign keys as fields different than snake_case'd on database (even with 'underscored: true' option) #213

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