Skip to content

Commit 079fbe0

Browse files
committed
Add Labeler and templates for issues and PRs
1 parent 785c906 commit 079fbe0

File tree

5 files changed

+134
-0
lines changed

5 files changed

+134
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
<!-- This template is meant for GENERAL bug reports.
8+
9+
Please be as descriptive as possible
10+
-->
11+
12+
### Work environment
13+
14+
<!-- Filling this table is mandatory -->
15+
16+
| Questions | Answers
17+
|------------------------------------------|--------------------
18+
| System PANDA runs on OS/arch/bits | panda-system-i386, panda-system-x86-64
19+
| PANDA module affected | dwarf2 plugin, taint2, PyPanda, etc.
20+
| Source of PANDA | `git clone`, pip, release binaries etc.
21+
| Version/git commit | v1.8.21, <commit hash>
22+
23+
<!-- OTHER BUGS -->
24+
25+
### Expected behavior
26+
27+
### Actual behavior
28+
29+
### Steps to reproduce the behavior
30+
31+
- Use code markdown `CODE` to make your code visible
32+
33+
<!-- ADDITIONAL CONTEXT -->
34+
35+
### Additional Logs, screenshots, source code, configuration dump, ...
36+
37+
Drag and drop zip archives containing the Additional info here, don't use external services or link.
38+
Screenshots can be directly dropped here.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for PANDA
4+
5+
---
6+
7+
### Feature
8+
9+
- [ ] New PANDA plugin
10+
- [ ] Support for new architecture
11+
- [ ] Optimize PANDA performance
12+
- [ ] Other (elaborated below)
13+
14+
**Describe the feature you'd like**
15+
A clear and concise description of what you want to happen.
16+
17+
**Additional context**
18+
Add any other context about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Filling this template is mandatory -->
2+
3+
**Your checklist for this pull request**
4+
- [ ] I've documented or updated the documentation of every API function and struct this PR changes.
5+
- [ ] I've added tests that prove my fix is effective or that my feature works (if possible)
6+
7+
**Detailed description**
8+
9+
<!-- Explain the **details** for making this change. Is a new feature implemented? What existing problem does the pull request solve? How does the pull request solve these issues? Please provide enough information so that others can review your pull request. -->
10+
11+
...
12+
13+
**Test plan**
14+
15+
<!-- What steps should the reviewer take to test your pull request? Demonstrate the code is solid. Or what test cases you added. Ideally provide screenshots to show the your code changes work as expected -->
16+
17+
...
18+
19+
**Closing issues**
20+
21+
<!-- put "closes #XXXX" in your comment to auto-close the issue that your PR fixes (if any). -->
22+
23+
...

.github/labeler.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
PANDA-Build:
2+
- Dockerfile
3+
- ./panda/build.sh
4+
- ./panda/build-llvm.sh
5+
- ./panda/Makefile.panda
6+
- ./panda/Makefile.panda.target
7+
- Makefile
8+
- Makefile.objs
9+
- Makefile.target
10+
- configure
11+
12+
Documentation:
13+
- '**/*.md'
14+
15+
Github-files:
16+
- .github/**
17+
18+
PyPanda:
19+
- ./panda/python/**/*.py
20+
21+
Debian:
22+
- ./panda/debian/**
23+
24+
Plugins:
25+
- ./panda/plugins/**
26+
27+
LLVM:
28+
- ./panda/llvm/**
29+
- ./panda/include/panda/tcg-llvm.h
30+
31+
PANDA-Core:
32+
- ./panda/src/**
33+
34+
PANDA-Tests:
35+
- ./panda/tests/**
36+
- ./panda/plugins/taint2/tests/**

.github/workflows/labeler.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
# Automatically cancel any previous workflow on new push.
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
triage:
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
runs-on: ubuntu-22.04
16+
steps:
17+
- uses: actions/labeler@v4
18+
with:
19+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)