diff --git a/.github/labeler.yaml b/.github/labeler.yaml index 3977b4a..7fec752 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -1,9 +1,15 @@ # Modules ":floppy_disk: resource-group": -- modules/resource-group/**/* +- changed-files: + - any-glob-to-any-file: + - modules/resource-group/**/* ":floppy_disk: s3-archive-bucket": -- modules/s3-archive-bucket/**/* +- changed-files: + - any-glob-to-any-file: + - modules/s3-archive-bucket/**/* ":floppy_disk: sqs-aws-event-queue": -- modules/sqs-aws-event-queue/**/* +- changed-files: + - any-glob-to-any-file: + - modules/sqs-aws-event-queue/**/* diff --git a/.github/workflows/pull-request-labeler.yaml b/.github/workflows/pull-request-labeler.yaml index d5ac851..aac2537 100644 --- a/.github/workflows/pull-request-labeler.yaml +++ b/.github/workflows/pull-request-labeler.yaml @@ -7,12 +7,17 @@ jobs: label-pr: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: - name: Add Labels for PR uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler.yaml + dot: true sync-labels: true - name: Add PR Size Labels for PR