diff options
Diffstat (limited to 'json4cpp/.github/workflows/labeler.yml')
| -rw-r--r-- | json4cpp/.github/workflows/labeler.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/json4cpp/.github/workflows/labeler.yml b/json4cpp/.github/workflows/labeler.yml new file mode 100644 index 0000000000..5f823a711f --- /dev/null +++ b/json4cpp/.github/workflows/labeler.yml @@ -0,0 +1,26 @@ +name: "Pull Request Labeler" + +on: + pull_request_target: + types: [opened, synchronize] + +permissions: + contents: read + +jobs: + label: + permissions: + contents: read + pull-requests: write + + runs-on: ubuntu-latest + + steps: + - name: Harden Runner + uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + with: + egress-policy: audit + + - uses: srvaroa/labeler@e8fbb2561481ef6e711a770f0234e9379dc76892 # master + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
