Skip to content

Commit b03fde0

Browse files
committed
add github actions, issue and PR templates
On-behalf-of: @SAP [email protected]
1 parent 389df72 commit b03fde0

File tree

4 files changed

+144
-0
lines changed

4 files changed

+144
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
title: "bug: "
4+
labels:
5+
- kind/bug
6+
body:
7+
- type: textarea
8+
id: description
9+
attributes:
10+
label: Describe the bug
11+
description: Please provide a clear and concise description of the bug.
12+
placeholder: |
13+
Add logs and screenshots if any.
14+
validations:
15+
required: true
16+
17+
- type: textarea
18+
id: reproducing
19+
attributes:
20+
label: Steps To Reproduce
21+
description: Steps to reproduce the behavior.
22+
placeholder: |
23+
1. Go to '...'
24+
2. Click on '...'
25+
3. Scroll down to '...'
26+
4. See the error
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: expected
32+
attributes:
33+
label: Expected Behaviour
34+
description: A clear and concise description of what you expected to happen.
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: additional
40+
attributes:
41+
label: Additional Context
42+
description: Add any other context about the problem here.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
title: "feature: "
4+
labels:
5+
- kind/feature
6+
body:
7+
- type: textarea
8+
id: problem
9+
attributes:
10+
label: Feature Description
11+
description: Is your feature request related to a problem? A clear and concise description of what the problem is.
12+
placeholder: I'm always frustrated when [...]
13+
validations:
14+
required: true
15+
16+
- type: textarea
17+
id: solution
18+
attributes:
19+
label: Proposed Solution
20+
description: A clear and consise description of what you want to happen.
21+
placeholder: We can do [...]
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: alternatives
27+
attributes:
28+
label: Alternative Solutions
29+
description: A clear and consise description of any alternative solutions or features that you've considered.
30+
placeholder: I think another approach would be [...]
31+
validations:
32+
required: false
33+
34+
- type: checkboxes
35+
id: contribute
36+
attributes:
37+
label: Want to contribute?
38+
options:
39+
- label: I would like to work on this issue.
40+
required: false
41+
42+
- type: textarea
43+
id: additional
44+
attributes:
45+
label: Additional Context
46+
description: Add any other context or screenshots about the feature request here.
47+
validations:
48+
required: false

.github/pull_request_template.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!--
2+
Thanks for creating a pull request!
3+
4+
If this is your first time, please make sure to review CONTRIBUTING.MD.
5+
6+
Please copy the appropriate `:text:` or icon to the beginning of your PR title:
7+
8+
:sparkles: ✨ feature
9+
:bug: 🐛 bug fix
10+
:book: 📖 docs
11+
:memo: 📝 proposal
12+
:warning: ⚠️ breaking change
13+
:seedling: 🌱 other/misc
14+
:question: ❓ requires manual review/categorization
15+
16+
-->
17+
## Summary
18+
19+
## Related issue(s)
20+
21+
Fixes #
22+
23+
## Release Notes
24+
25+
<!--
26+
Please add a release note in the block below. Leave NONE only if no user-facing changes are in this PR.
27+
-->
28+
29+
```release-note
30+
NONE
31+
```

.github/workflows/pr-verifier.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PR Verifier
2+
3+
on:
4+
# NB: using `pull_request_target` runs this in the context of
5+
# the base repository, so it has permission to upload to the checks API.
6+
# This means changes won't kick in to this file until merged onto the
7+
# main branch.
8+
pull_request_target:
9+
types: [opened, edited, reopened, synchronize]
10+
11+
jobs:
12+
verify:
13+
name: verify PR contents
14+
permissions:
15+
checks: write
16+
pull-requests: read
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Verifier action
20+
id: verifier
21+
uses: kubernetes-sigs/[email protected]
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)