1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-14 19:29:16 +08:00
Gabriela Gutierrez 2d8c888a00
Ref actions by commit SHA in labeler.yml
It's important to make sure the SHA's are from the original repositories and not forks.

For reference:

https://github.com/actions/labeler/releases/tag/v4.1.0
9fcb2c2f55


Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
2023-06-07 16:53:15 -03:00

18 lines
441 B
YAML

name: "Pull Request Labeler"
on:
- pull_request_target
permissions:
contents: read
jobs:
triage:
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@9fcb2c2f5584144ca754f8bfe8c6f81e77753375 # v4.1.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"