Skip to content

fix: labeler

fix: labeler #20

Workflow file for this run

name: Pull Request Labeler
on:
pull_request:
types: [opened, edited]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - uses: actions/labeler@v5
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# configuration-path: '.github/labeler-action.yml'
# sync-labels: true
- uses: fuxingloh/multi-labeler@v4 # v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }} # optional, default to '${{ github.token }}'
config-path: .github/multi-labeler.yml # optional, default to '.github/labeler.yml'
# - name: Check Labels
# id: labeler
# uses: jimschubert/labeler-action@v2
# with:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# - name: Apply labels based on PR title
# uses: TimonVS/pr-labeler-action@v5
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# configuration-path: .github/pr-labeler.yml
# - uses: ZeWaka/KeywordLabeler@master
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - name: "Assign label based on the title"
# uses: Bhacaz/label-regex@v2.1
# with:
# field: title
# regex: '([A-Z]+?)-'
# lowercase: true
# token: ${{ github.token }}