diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 703c272b67..5aba75514b 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -14,6 +14,7 @@ > /kind documentation > /kind feature > /kind hotfix +> /kind release **What this PR does / Why we need it**: diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml index 2da47df4a0..17719e23da 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -18,17 +18,14 @@ name: Label PR on: - pull_request_target: - types: [opened] + - pull_request_target jobs: label: runs-on: ubuntu-latest permissions: - id-token: write contents: read pull-requests: write - issues: write steps: - name: Label PR @@ -41,7 +38,8 @@ jobs: "feature": "kind/feature", "cleanup": "kind/cleanup", "documentation": "kind/documentation", - "hotfix": "kind/hotfix" + "hotfix": "kind/hotfix", + "release": "kind/release" }; const prBody = context.payload.pull_request.body; const prLabels = [];