mirror of
https://github.com/curl/curl.git
synced 2026-04-13 12:41:42 +08:00
Ref: https://github.com/zizmorcore/zizmor/pull/1131 Ref: https://docs.zizmor.sh/audits/#undocumented-permissions Bug: https://github.com/curl/curl/pull/18539#issuecomment-3288151910 Closes #18541
29 lines
865 B
YAML
29 lines
865 B
YAML
# Copyright (C) Daniel Fandrich, <dan@coneharvesters.com>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
# This workflow will triage pull requests and apply a label based on the
|
|
# paths that are modified in the pull request.
|
|
#
|
|
# To use this workflow, you will need to set up a .github/labeler.yml
|
|
# file with configuration. For more information, see:
|
|
# https://github.com/actions/labeler
|
|
|
|
name: 'Labeler'
|
|
'on': [pull_request_target] # zizmor: ignore[dangerous-triggers]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
label:
|
|
name: 'Labeler'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read # To comply with https://github.com/actions/labeler documentation
|
|
pull-requests: write # To edit labels on PRs
|
|
|
|
steps:
|
|
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6
|
|
with:
|
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|