Skip to content

Commit 28aaf1d

Browse files
committed
Initial module version
1 parent 6a547fd commit 28aaf1d

21 files changed

+1721
-2
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Bug Report
2+
description: File a bug report
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: input
10+
id: contact
11+
attributes:
12+
label: Contact Details (optional)
13+
description: How can we get in touch with you if we need more info?
14+
placeholder: ex. email@example.com
15+
validations:
16+
required: false
17+
- type: textarea
18+
id: what-happened
19+
attributes:
20+
label: Description. What happened?
21+
description: Also tell us, what did you expect to happen?
22+
placeholder: Tell us what you see!
23+
value: "A bug happened!"
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: steps-to-reproduce
28+
attributes:
29+
label: Steps to reproduce
30+
description: Describe the steps to reproduce.
31+
placeholder: 1. Step 1 ...
32+
2. Step 2 ...
33+
3. Step 3 ...
34+
validations:
35+
required: true
36+
- type: textarea
37+
id: expected-behavior
38+
attributes:
39+
label: Expected behavior
40+
description: Describe the expected behavior.
41+
placeholder: The expected behavior is ...
42+
validations:
43+
required: false
44+
- type: textarea
45+
id: actual-behavior
46+
attributes:
47+
label: Actual behavior
48+
description: Describe the actual behavior.
49+
placeholder: The actual behavior is ...
50+
validations:
51+
required: true
52+
- type: dropdown
53+
id: occurrence-frequency
54+
attributes:
55+
label: Occurrence
56+
description: How often this bug occurs?
57+
options:
58+
- Frequently
59+
- Sometimes
60+
- Rarely
61+
validations:
62+
required: true
63+
- type: textarea
64+
id: logs
65+
attributes:
66+
label: Relevant log output
67+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
68+
render: shell
69+
- type: checkboxes
70+
id: terms
71+
attributes:
72+
label: Code of Conduct
73+
description: By submitting this issue, you agree to follow our [Code of Conduct](../blob/master/CODE_OF_CONDUCT.md)
74+
options:
75+
- label: I agree to follow this project's Code of Conduct
76+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: DNX One Documentation
4+
url: https://docs.dnx.one
5+
about: At DNX we help your business build better solutions by upgrading how delivery is done, leaving behind manual processes and embracing an automated, cloud-native way of working.
6+
- name: About us
7+
url: https://dnx.solutions/about-us/
8+
about: Informations about DNX as a company.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
labels: ["feature-request"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this feature request!
9+
- type: input
10+
id: contact
11+
attributes:
12+
label: Contact Details (optional)
13+
description: How can we get in touch with you if we need more info?
14+
placeholder: ex. email@example.com
15+
validations:
16+
required: false
17+
- type: textarea
18+
id: summary
19+
attributes:
20+
label: Summary
21+
description: Describe the requested feature.
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: motivation
26+
attributes:
27+
label: Motivation
28+
description: Describe the motivation behind this feature request.
29+
validations:
30+
required: true
31+
- type: textarea
32+
id: alternatives
33+
attributes:
34+
label: Alternatives
35+
description: Describe the alternatives you've considered.
36+
validations:
37+
required: false
38+
- type: textarea
39+
id: additional-information
40+
attributes:
41+
label: Additional Context
42+
- type: checkboxes
43+
id: terms
44+
attributes:
45+
label: Code of Conduct
46+
description: By submitting this issue, you agree to follow our Code of Conduct](../blob/master/CODE_OF_CONDUCT.md)
47+
options:
48+
- label: I agree to follow this project's Code of Conduct
49+
required: true

.github/pull_request_template.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
3+
4+
## Types of changes
5+
6+
What types of changes does your code introduce to <repo_name>?
7+
_Put an `x` in the boxes that apply_
8+
9+
- [ ] Bugfix (non-breaking change which fixes an issue)
10+
- [ ] New feature (non-breaking change which adds functionality)
11+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
12+
- [ ] Documentation Update (if none of the other choices apply)
13+
14+
## Checklist
15+
16+
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
17+
18+
- [ ] I have read the CONTRIBUTING.md doc.
19+
- [ ] I have added necessary documentation (if appropriate).
20+
- [ ] Any dependent changes have been merged and published in downstream modules.
21+
22+
## Further comments
23+
24+
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

.github/release-drafter.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name-template: '$RESOLVED_VERSION'
2+
tag-template: '$RESOLVED_VERSION'
3+
version-template: '$MAJOR.$MINOR.$PATCH'
4+
version-resolver:
5+
major:
6+
labels:
7+
- 'major'
8+
minor:
9+
labels:
10+
- 'minor'
11+
- 'enhancement'
12+
patch:
13+
labels:
14+
- 'auto-update'
15+
- 'patch'
16+
- 'fix'
17+
- 'bugfix'
18+
- 'bug'
19+
- 'hotfix'
20+
default: 'minor'
21+
22+
categories:
23+
- title: '🚀 Enhancements'
24+
labels:
25+
- 'enhancement'
26+
- 'patch'
27+
- title: '🐛 Bug Fixes'
28+
labels:
29+
- 'fix'
30+
- 'bugfix'
31+
- 'bug'
32+
- 'hotfix'
33+
- title: '🤖 Automatic Updates'
34+
labels:
35+
- 'auto-update'
36+
37+
change-template: |
38+
<details>
39+
<summary>$TITLE @$AUTHOR (#$NUMBER)</summary>
40+
41+
$BODY
42+
</details>
43+
44+
template: |
45+
## What’s Changed
46+
$CHANGES

.github/workflows/auto-release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: auto-release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
9+
permissions: read-all
10+
11+
jobs:
12+
release:
13+
name: Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
# Get PR from merged commit to master
17+
- uses: actions-ecosystem/action-get-merged-pull-request@v1
18+
id: get-merged-pull-request
19+
with:
20+
github_token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
21+
# Drafts your next Release notes as Pull Requests are merged into "master"
22+
- uses: release-drafter/release-drafter@v5
23+
with:
24+
publish: ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }}
25+
prerelease: false
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}

.github/workflows/docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Generate terraform docs
2+
3+
on: [pull_request]
4+
5+
permissions: read-all
6+
7+
jobs:
8+
docs:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
ref: ${{ github.head_ref }}
14+
15+
- name: Render terraform docs inside the README.md and push changes back to pushed branch
16+
uses: DNXLabs/terraform-docs@v1.0.0
17+
with:
18+
tf_docs_working_dir: .
19+
tf_docs_output_file: README.md
20+
tf_docs_output_method: inject
21+
tf_docs_git_push: 'true'
22+
tf_docs_git_commit_message: 'terraform-docs: automated update action'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Generate terraform docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
permissions: read-all
9+
10+
jobs:
11+
docs:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
ref: master
17+
18+
- name: Render terraform docs inside the README.md and push changes back to pushed branch
19+
uses: DNXLabs/terraform-docs@v1.0.0
20+
with:
21+
tf_docs_working_dir: .
22+
tf_docs_output_file: README.md
23+
tf_docs_output_method: inject
24+
tf_docs_git_push: 'true'
25+
tf_docs_git_commit_message: 'terraform-docs: automated update action'

.github/workflows/lint.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
tflint:
9+
name: Lint
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
name: Checkout source code
14+
15+
- uses: actions/cache@v3
16+
name: Cache plugin dir
17+
with:
18+
path: ~/.tflint.d/plugins
19+
key: tflint-${{ hashFiles('.tflint.hcl') }}
20+
21+
- uses: terraform-linters/setup-tflint@v3
22+
name: Setup TFLint
23+
with:
24+
tflint_version: v0.48.0
25+
26+
- name: Show version
27+
run: tflint --version
28+
29+
- name: Init TFLint
30+
run: tflint --init
31+
env:
32+
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
33+
GITHUB_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
34+
35+
- name: Run TFLint
36+
run: tflint -f compact

.github/workflows/lock.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '50 1 * * *'
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/lock-threads@v4
12+
with:
13+
github-token: ${{ secrets.GITHUB_TOKEN }}
14+
issue-comment: >
15+
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
16+
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
17+
issue-inactive-days: '30'
18+
pr-comment: >
19+
I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
20+
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
21+
pr-inactive-days: '30'

0 commit comments

Comments
 (0)