chore: The io/ioutil package has been deprecated in Go 1.16, and it is recommended to use io.ReadAll() instead. #28154
This file contains 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: "Pull Request Labeler" | |
on: | |
- pull_request_target | |
permissions: | |
contents: read | |
jobs: | |
labeler: | |
permissions: | |
contents: read # for actions/labeler to determine modified files | |
pull-requests: write # for actions/labeler to add labels to PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@v4 # v5 is broken, ref https://github.com/actions/labeler/issues/712. Do not bump. | |
with: | |
configuration-path: .github/pr_labeler.yml | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |