Skip to content

Revert "fix: hacky workaround to not use zlib bundled with SAM CLI In… #75

Revert "fix: hacky workaround to not use zlib bundled with SAM CLI In…

Revert "fix: hacky workaround to not use zlib bundled with SAM CLI In… #75

Workflow file for this run

name: "Pull Request Labeler"
on:
pull_request_target:
types: [opened]
jobs:
apply-internal-external-label:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const maintainers = ['jfuss', 'hoffa', 'awood45', 'aahung', 'hawflau', 'mndeveci', 'ssenchenko', 'qingchm', 'moelasmar', 'xazhao', 'mildaniel', 'marekaiv', 'torresxb1', 'lucashuy', 'hnnasit', 'sriram-mv']
if (maintainers.includes(context.payload.sender.login)) {
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['pr/internal']
})
} else {
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['pr/external', 'stage/needs-triage']
})
}