diff --git a/.github/labeler.yml b/.github/labeler.yml index 276bb2f73ec..32b18d5e208 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,5 +1,5 @@ # Changes to anything in the _map subfolder -Map Modification: +Map Edit: - changed-files: - any-glob-to-any-file: '_maps/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 0d5585b7034..0137985e4ac 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,13 +1,11 @@ name: PR Labeling on: - schedule: - - cron: '*/5 * * * *' + - pull_request_target jobs: labeler: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest steps: - - uses: paulfantom/periodic-labeler@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_REPOSITORY: ${{ github.repository }} - LABEL_MAPPINGS_FILE: .github/labeler.yml + - uses: actions/labeler@v5