Skip to content

Commit 216a1b2

Browse files
authored
PRs: use icons in descriptions (#517)
Update PR template to provide guidance on title icons. Add job to verify icon in PR title. Make sure dependabot PRs titles are prefixed with 🌱. Signed-off-by: Andy Goldstein <[email protected]>
1 parent 55d54ab commit 216a1b2

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ updates:
88
directory: "/"
99
schedule:
1010
interval: "daily"
11+
commit-message:
12+
prefix: ":seedling:"

.github/pull_request_template.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<!--
2+
Please prefix the title of this PR with one of the following icons:
3+
4+
* ⚠ (:warning:, major/breaking change)
5+
* ✨ (:sparkles:, minor/compatible change)
6+
* 🐛 (:bug:, patch/bug fix)
7+
* 📖 (:book:, docs)
8+
* 🌱 (:seedling:, other)
9+
10+
-->
11+
112
# Description
213

314
<!--

.github/workflows/pr-title.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on:
2+
pull_request_target:
3+
types: [opened, edited, reopened, synchronize]
4+
5+
jobs:
6+
pr-title:
7+
runs-on: ubuntu-latest
8+
name: Verify PR title
9+
steps:
10+
- name: Verify PR title
11+
uses: kubernetes-sigs/[email protected]
12+
with:
13+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)