Skip to content
This repository was archived by the owner on Oct 2, 2022. It is now read-only.

Commit 9e4ab19

Browse files
committed
Initial commit
0 parents  commit 9e4ab19

File tree

15 files changed

+308
-0
lines changed

15 files changed

+308
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: janoszen
7+
8+
---
9+
10+
<details>
11+
<summary><h2>Describe the bug</h2></summary>
12+
A clear and concise description of what the bug is.
13+
</details>
14+
15+
<details>
16+
<summary><h2>To Reproduce</h2></summary>
17+
1. Run containerssh with these parameters
18+
2. Do something else...
19+
3. ...
20+
</details>
21+
22+
<details>
23+
<summary><h2>Expected behavior</h2></summary>
24+
A clear and concise description of what you expected to happen.
25+
</details>
26+
27+
<details>
28+
<summary><h2>Version</h2></summary>
29+
Please insert the output of `go version` here:
30+
```
31+
$ go version
32+
...
33+
```
34+
</details>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature
6+
assignees: janoszen
7+
8+
---
9+
10+
## Please describe what you would like to see in ContainerSSH
11+
A clear and concise description of what you would like to see improved.
12+
13+
## Please describe the solution you'd like
14+
A clear and concise description of what you want to happen.
15+
16+
## Please describe your use case
17+
A clear and concise description of how you would use this feature.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Support request
3+
about: If you need help using ContainerSSH
4+
title: ''
5+
labels: support
6+
assignees: janoszen
7+
8+
---
9+
10+
## Please describe what you need help with
11+
12+
...
13+
14+
## Have you read the readme in its entirety?
15+
16+
...
17+
18+
## What have you tried to resolve this problem?
19+
20+
...
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Bug fix
3+
about: Fix a bug
4+
title: ''
5+
labels: bug
6+
assignees: janoszen
7+
8+
---
9+
10+
## Please describe the bug you have fixed
11+
12+
...
13+
14+
## Are you the owner of the code you are sending in, or do you have permission of the owner?
15+
16+
...
17+
18+
## The code will be published under the MIT license. Have you read and understood this license?
19+
20+
...
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Cleanup
3+
about: Make the code more beautiful or add a build tool
4+
title: ''
5+
labels: cleanup
6+
assignees: janoszen
7+
8+
---
9+
10+
## Please describe what your cleanup is all about
11+
12+
...
13+
14+
## Are you the owner of the code you are sending in, or do you have permission of the owner?
15+
16+
...
17+
18+
## The code will be published under the MIT license. Have you read and understood this license?
19+
20+
...
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature
3+
about: Add a new feature
4+
title: ''
5+
labels: enhancement
6+
assignees: janoszen
7+
8+
---
9+
10+
## Please describe the feature you are adding
11+
12+
...
13+
14+
## Are you the owner of the code you are sending in, or do you have permission of the owner?
15+
16+
...
17+
18+
## The code will be published under the MIT license. Have you read and understood this license?
19+
20+
...

.github-template/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "gomod"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
name: "CodeQL"
7+
8+
on:
9+
push:
10+
branches: [ main ]
11+
pull_request:
12+
# The branches below must be a subset of the branches above
13+
branches: [ main ]
14+
schedule:
15+
- cron: '0 17 * * 2'
16+
17+
jobs:
18+
analyze:
19+
name: Analyze
20+
runs-on: ubuntu-latest
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
# Override automatic language detection by changing the below list
26+
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
27+
language: [ 'go' ]
28+
# Learn more...
29+
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
30+
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
34+
with:
35+
# We must fetch at least the immediate parents so that if this is
36+
# a pull request then we can checkout the head.
37+
fetch-depth: 2
38+
39+
# If this run was triggered by a pull request event, then checkout
40+
# the head of the pull request instead of the merge commit.
41+
- run: git checkout HEAD^2
42+
if: ${{ github.event_name == 'pull_request' }}
43+
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v1
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53+
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v1
58+
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 https://git.io/JvXDl
61+
62+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63+
# and modify them (or add more) to build your code if your project
64+
# uses a compiled language
65+
66+
#- run: |
67+
# make bootstrap
68+
# make release
69+
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v1
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
test:
7+
name: Run lint
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Set up Go
13+
uses: actions/setup-go@v2
14+
with:
15+
go-version: 1.14
16+
- name: Run golangci-lint
17+
uses: golangci/golangci-lint-action@v2
18+
with:
19+
version: v1.32.2
20+
args: --out-format=colored-line-number -E asciicheck -E bodyclose -E dupl -E errorlint -E exportloopref -E funlen
21+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Tests
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
test:
7+
name: Run tests
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Set up Go
13+
uses: actions/setup-go@v2
14+
with:
15+
go-version: 1.14
16+
- name: Run go tests
17+
run: go test -cover -p 1 -v ./...

0 commit comments

Comments
 (0)