diff --git a/.github/workflows/conventional-label.yaml b/.github/workflows/conventional-label.yaml index 434ba18..65dbf9c 100644 --- a/.github/workflows/conventional-label.yaml +++ b/.github/workflows/conventional-label.yaml @@ -1,14 +1,16 @@ +name: conventional release labels + on: pull_request_target: - types: [ opened, edited ] -name: conventional-release-labels - -permissions: - contents: read - pull-requests: write + types: + - opened + - edited jobs: label: runs-on: ubuntu-latest steps: - uses: bcoe/conventional-release-labels@v1 + with: + ignore_types: '["chore", "ci"]' + type_labels: '{"feat": "enhancement", "fix": "bug", "breaking": "breaking", "doc": "documentation"}'