Skip to content

Commit

Permalink
Cleanup labeler (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 authored Jul 14, 2023
1 parent 15e43ed commit 0422830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
> /kind documentation
> /kind feature
> /kind hotfix
> /kind release
**What this PR does / Why we need it**:

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 = [];
Expand Down

0 comments on commit 0422830

Please sign in to comment.