-
Notifications
You must be signed in to change notification settings - Fork 2
31 lines (31 loc) · 866 Bytes
/
labeler.yaml
File metadata and controls
31 lines (31 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
name: "Pull Request Labeler"
on:
workflow_call:
inputs:
config-path:
required: true
type: string
secrets:
github-token:
required: true
permissions:
contents: read
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
with:
configuration-path: ${{ inputs.config-path }}
repo-token: "${{ secrets.github-token }}"