Skip to content

Commit

Permalink
[TASK] Add GitHub related config
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Jul 2, 2024
1 parent e3bed0c commit 8c4eaca
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Bug report
description: Create a report to help improve the project.
title: "[BUG]"
labels:
- bug
assignees:
- eliashaeussler
body:
- type: input
id: docker-version
attributes:
label: Docker version
description: What Docker version are you using?
placeholder: 'e.g. 26.1.3'
validations:
required: true
- type: input
id: package-version
attributes:
label: Package version
description: What version of this package are you using?
placeholder: 'e.g. 1.0.0'
validations:
required: true
- type: input
id: operating-system
attributes:
label: Operating system
description: What operating system are you using?
placeholder: 'e.g. macOS 11.4'
validations:
required: true
- type: textarea
attributes:
label: Current behavior
description: A clear and concise description of what the bug is.
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
attributes:
label: Steps to reproduce
description: If possible, describe steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Community support
url: https://typo3.slack.com/archives/C0400CSGWAY
about: Please ask and answer questions here.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature request
description: Suggest an idea for this project.
title: "[FEATURE]"
labels:
- enhancement
assignees:
- eliashaeussler
body:
- type: textarea
attributes:
label: Is your feature request related to a problem?
description: A clear and concise description of what the problem is.
placeholder: I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Describe alternatives you've considered
description: >
A clear and concise description of any alternative solutions or features
you've considered.
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
31 changes: 31 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
changelog:
exclude:
labels:
- duplicate
- 'good first issue'
- 'help wanted'
- invalid
- question
- wontfix
categories:
- title: ⚡ Breaking
labels:
- breaking
- title: 🚀 Improved
labels:
- enhancement
- title: 🚑 Fixed
labels:
- bug
- title: 👷 Changed
labels:
- maintenance
- title: 📖 Documentation
labels:
- documentation
- title: ⚙️ Dependencies
labels:
- dependencies
- title: Other changes
labels:
- "*"
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release
on:
push:
tags:
- '*'

jobs:
# Job: Create release
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

# Check if tag is valid
- name: Check tag
run: |
if ! [[ ${{ github.ref }} =~ ^refs/tags/[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$ ]]; then
exit 1
fi
# Create release
- name: Create release
id: create-release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true

0 comments on commit 8c4eaca

Please sign in to comment.