build(deps): bump software.amazon.awssdk:bom from 2.42.9 to 2.42.19 #277
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Labeler | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened, ready_for_review, edited ] | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| jobs: | |
| ensure-labels: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ensure common labels exist | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const labels = [ | |
| {name: 'area-parsers', color: '5319e7', description: 'Parser implementations'}, | |
| {name: 'area-factory', color: 'b60205', description: 'Factory/creation logic'}, | |
| {name: 'area-detection', color: '1d76db', description: 'Module type detection'}, | |
| {name: 'area-input', color: '0052cc', description: 'Input models/ingest'}, | |
| {name: 'area-output', color: 'fbca04', description: 'Output/metadata'}, | |
| {name: 'backend-zip', color: 'fef2c0', description: 'Zip backend'}, | |
| {name: 'backend-local', color: 'c2e0c6', description: 'Local file backend'}, | |
| {name: 'backend-s3', color: 'f9d0c4', description: 'AWS S3 backend'}, | |
| {name: 'type-tests', color: '0e8a16', description: 'Unit/integration tests'}, | |
| {name: 'docs', color: 'c5def5', description: 'Documentation changes'}, | |
| {name: 'build-ci', color: 'd4c5f9', description: 'Build or CI changes'} | |
| ]; | |
| const existing = await github.paginate( | |
| github.rest.issues.listLabelsForRepo, | |
| { owner: context.repo.owner, repo: context.repo.repo, per_page: 100 } | |
| ); | |
| const byName = new Map(existing.map(l => [l.name.toLowerCase(), l])); | |
| for (const l of labels) { | |
| if (!byName.has(l.name.toLowerCase())) { | |
| await github.rest.issues.createLabel({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| name: l.name, | |
| color: l.color, | |
| description: l.description | |
| }); | |
| } | |
| } | |
| label-pr: | |
| needs: ensure-labels | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Apply labels by changed files | |
| uses: actions/labeler@v6 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| configuration-path: .github/pr-labeler.yml | |
| sync-labels: false | |