Skip to content

Commit

Permalink
Added .github
Browse files Browse the repository at this point in the history
  • Loading branch information
BrutalBirdie committed Dec 21, 2023
1 parent f08ad1f commit 926b6b1
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: [BrutalBirdie]
custom: ["https://www.gesellschaft-zur-entwicklung-von-dingen.de/", "https://www.ebbba.org/"]
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] - Descriptive Title Placeholder"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
DO NOT USE SCREENSHOTS TO SHOW CODE!
This makes the information inaccessible to visually impaired users.

**Desktop information if needed (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone information if needed (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Ansible version**
Copy-Paste the Output from this command
```bash
ansible --version
```

**Your variables for this role - be sure to remove any sensitive information**
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/workflows/ansible-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Ansible Lint

on:
push:
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install ansible-lint
run: pip3 install ansible ansible-lint[community,yamllint]
- run: ansible-lint --version

- uses: actions/checkout@v2

- name: Run ansible-lint
run: ansible-lint . -vv
29 changes: 29 additions & 0 deletions .github/workflows/cb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": ["feature"]
},
{
"title": "## ⭐ Enhancement",
"labels": ["enhancement"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix", "bug"]
},
{
"title": "## 📘 Documentation",
"labels": ["documentation"]
},
{
"title": "## 🔐 Security",
"labels": ["security"]
},
{
"title": "## 🧪 Tests",
"labels": ["test"]
}
],
"pr_template": "- ${{TITLE}} - Thanks to @${{AUTHOR}} 💙\n - PR: #${{NUMBER}}"
}
33 changes: 33 additions & 0 deletions .github/workflows/changelog_builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Release and Changelog Builder'
on:
push:
tags:
- '*'

jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2

- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v3.7.1
with:
configuration: ".github/workflows/cb.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: ncipollo/release-action@v1.12.0
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{steps.github_release.outputs.changelog}}
allowUpdates: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 926b6b1

Please sign in to comment.