ci: add permission to add labels to PR (#24)

This commit is contained in:
Damien
2025-03-10 10:45:45 +01:00
committed by GitHub
parent ef0961d554
commit 00998db497

View File

@@ -9,8 +9,10 @@ on:
jobs: jobs:
label: label:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
pull-requests: write
steps: steps:
- uses: bcoe/conventional-release-labels@v1 - uses: bcoe/conventional-release-labels@v1
with: with:
ignore_types: '["chore", "ci"]' ignored_types: '["chore", "ci"]'
type_labels: '{"feat": "enhancement", "fix": "bug", "breaking": "breaking", "doc": "documentation"}' type_labels: '{"feat": "enhancement", "fix": "bug", "breaking": "breaking", "doc": "documentation"}'