Skip to content

Commit cf2f9ba

Browse files
committed
add .github
1 parent 418eb86 commit cf2f9ba

File tree

5 files changed

+102
-0
lines changed

5 files changed

+102
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug report
3+
about: Tell us about a problem you are experiencing
4+
5+
---
6+
7+
/kind bug
8+
9+
**What steps did you take and what happened:**
10+
[A clear and concise description of what the bug is.]
11+
12+
13+
**What did you expect to happen:**
14+
15+
16+
**Anything else you would like to add:**
17+
[Miscellaneous information that will assist in solving the issue.]
18+
19+
20+
**Environment:**
21+
22+
- Cluster-api-provider-proxmox version:
23+
- Proxmox VE version:
24+
- Kubernetes version: (use `kubectl version`):
25+
- OS (e.g. from `/etc/os-release`):
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature enhancement request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
/kind feature
8+
9+
**Describe the solution you'd like**
10+
[A clear and concise description of what you want to happen.]
11+
12+
13+
**Anything else you would like to add:**
14+
[Miscellaneous information that will assist in solving the issue.]
15+
16+
17+
**Environment:**
18+
19+
- Cluster-api-provider-proxmox version:
20+
- Proxmox VE version:
21+
- Kubernetes version: (use `kubectl version`):
22+
- OS (e.g. from `/etc/os-release`):

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
# Go
4+
- package-ecosystem: gomod
5+
directory: "/"
6+
schedule:
7+
interval: weekly
8+
labels:
9+
- "ok-to-test"
10+
ignore:
11+
# Ignore controller-runtime as its upgraded manually.
12+
- dependency-name: "sigs.k8s.io/controller-runtime"
13+
# Ignore sigs.k8s.io/cluster-api as its upgraded manually.
14+
- dependency-name: "sigs.k8s.io/cluster-api/*"
15+
# Ignore k8s and its transitives modules as they are upgraded manually
16+
# together with controller-runtime.
17+
- dependency-name: "k8s.io/*"

.github/workflows/cover.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# add public code coverage reports
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
coverage:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- run: "make test-cover"
12+
- uses: codecov/codecov-action@v2
13+
with:
14+
file: ./coverage.out
15+
fail_ci_if_error: true
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: golangci-lint
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize, reopened]
6+
7+
# Remove all permissions from GITHUB_TOKEN except metadata.
8+
permissions: {}
9+
10+
jobs:
11+
golangci:
12+
name: lint
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-go@v4
17+
with:
18+
go-version: 1.19
19+
check-latest: true
20+
- name: golangci-lint
21+
uses: golangci/golangci-lint-action@v3.4.0
22+
with:
23+
version: v1.52.2

0 commit comments

Comments
 (0)