Files
discordeno/.github/workflows/labeler.yml
dependabot[bot] 449e9da245 build(deps): bump fuxingloh/multi-labeler from 4 to 5
Bumps [fuxingloh/multi-labeler](https://github.com/fuxingloh/multi-labeler) from 4 to 5.
- [Release notes](https://github.com/fuxingloh/multi-labeler/releases)
- [Commits](https://github.com/fuxingloh/multi-labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: fuxingloh/multi-labeler
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-04 16:05:18 +00:00

32 lines
1.1 KiB
YAML

name: Labeler
permissions:
issues: write
pull-requests: write
on:
pull_request_target:
types: ['edited', 'opened', 'reopened', 'synchronize']
issues:
types: ['opened', 'reopened']
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target'
steps:
- uses: fuxingloh/multi-labeler@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
w_unverified_labeler:
name: Add w-unverified Label
if: ${{ !(github.event_name == 'pull_request_target' && (github.event.action == 'edited' || github.event.action == 'synchronize' )) && !(github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'api-docs-commits')) && github.actor != 'dependabot[bot]'}}
runs-on: ubuntu-latest
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
LABELS: w-unverified