Skip to content

ci: 👷 add release drafter auto labeler github action #4

ci: 👷 add release drafter auto labeler github action

ci: 👷 add release drafter auto labeler github action #4

Workflow file for this run

name: Auto Labeler
on:
pull_request:
types: [ opened, edited, synchronize, ready_for_review ]
jobs:
auto-labeler:
name: Auto Labeler
runs-on: ubuntu-latest
permissions:
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
contents: read
steps:
- name: Apply labels based on PR title and branch name
uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: ".github/labeler.yml"
# - uses: release-drafter/release-drafter@v6
# with:
# config-name: release-drafter.yml
# disable-releaser: true # releaser mode is disabled.
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}