diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 80ee5139..5e36d52b 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -1,13 +1,17 @@ name: CI-pr-label on: pull_request_target: - types: [opened] + types: + - opened jobs: - pr-labeler: + label: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - uses: TimonVS/pr-labeler-action@v5 + - uses: actions/labeler@v5 with: configuration-path: .github/pr-labeler.yml - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +