Skip to content

platform: automated lint fix #412

platform: automated lint fix

platform: automated lint fix #412

name: Release Drafter Autolabeler
on:
pull_request:
types: [opened, reopened, synchronize]
pull_request_target:
types: [opened, reopened, synchronize]
jobs:
autolabel-pr:
if: >-
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
||
(github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository)
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter/autolabeler@v7
with:
config-name: release-drafter-config.yml
token: ${{ secrets.GITHUB_TOKEN }}