Files
discordeno/.github/workflows/labeler.yml
dependabot[bot] 18748ce898 build(deps): bump fuxingloh/multi-labeler from 4 to 5 (#5002)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-06-01 18:24:10 +05:30

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