Skip to content

chore: bump version to 1.171.0 #4156

chore: bump version to 1.171.0

chore: bump version to 1.171.0 #4156

Workflow file for this run

name: "Pull Request Labeler"

Check warning on line 1 in .github/workflows/pr-labeler.yml

View workflow run for this annotation

GitHub Actions / Pull Request Labeler

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
types: [opened]
jobs:
apply-file-based-labels:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v7
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
apply-internal-external-label:
needs: apply-file-based-labels
if: ${{ always() }}
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Apply internal/external label
uses: actions/github-script@v9
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const maintainers = [
'aws-sam-cli-bot',
'seshubaws', 'valerena',
'Vandita2020', 'roger-zhangg',
'vicheey', 'bnusunny', 'tobixlea',
'reedham-aws', 'licjun', 'dependabot[bot]'
];
if (maintainers.includes(context.payload.sender.login)) {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['pr/internal']
});
} else {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['pr/external', 'stage/needs-triage']
});
}