Skip to content

Commit 2a25f30

Browse files
committed
Add github actions for issue tracker
1 parent 7860b12 commit 2a25f30

File tree

3 files changed

+99
-0
lines changed

3 files changed

+99
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Bug report 🐞
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
**Only bug reports!**
9+
10+
The C++ version of VCFLIB is in *maintenance* mode. Use the github issue
11+
tracker to report bugs *only*. For comments, questions and features,
12+
please use the google group mailing list as stated on the
13+
[README](https://github.com/vcflib/vcflib/blob/master/README.md)!
14+
15+
**Describe the bug**
16+
17+
A clear and concise description of what the bug is.
18+
19+
**To Reproduce**
20+
21+
Include all steps to reproduce the behavior and paste any complete
22+
errors from the terminal.
23+
24+
**Expected behavior**
25+
26+
A clear and concise description of what you expected to happen.
27+
28+
**Screenshots**
29+
30+
If applicable, add screenshots to help explain your problem.
31+
32+
**Additional context**
33+
34+
Add any other context about the problem here.
35+
36+
Include a set of VCF files to reproduce the issue
37+
38+
+ bonus points if you try to minimize the test case yourself, as issues are often localized:
39+
- try to use sambamba or samtools slice to first extract the reference where the error occurs
40+
- if that succeeds (the error is still reproducible), continue to crop the file in binary-search fashion
41+
42+
**Finally**
43+
44+
Please check the README and docs carefully. Everyone working on vcflib is doing that for free. Please respect our time (too).
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "0 * * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v3
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: 'This issue is marked stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days'
14+
close-issue-message: 'This issue was closed for lack of activity. Feel free to re-open if someone feels like working on it.'
15+
days-before-stale: 120
16+
days-before-close: 5
17+
exempt-issue-labels: "bug,build,enhancement,help wanted,in progress"
18+
debug-only: false
19+
operations-per-run: 100

.github/workflows/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-latest
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v2
27+
28+
# Runs a single command using the runners shell
29+
- name: Run a one-line script
30+
run: echo Hello, world!
31+
32+
# Runs a set of commands using the runners shell
33+
- name: Run a multi-line script
34+
run: |
35+
echo Add other actions to build,
36+
echo test, and deploy your project.

0 commit comments

Comments
 (0)