ci: clean up and conventions (#52)

This commit is contained in:
Jef LeCompte
2025-07-20 22:13:17 -07:00
committed by GitHub
parent 4ac37de08e
commit 60321a37e6
14 changed files with 407 additions and 122 deletions

View File

@@ -1,27 +0,0 @@
---
name: 🐛 Bug report
about: Report a bug for this project
---
## Expected Behavior
<!-- Tell us what should happen -->
## Current Behavior
<!-- Tell us what happens instead of the expected behavior -->
## Steps to Reproduce
<!-- Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. -->
<!-- Include code to reproduce, if relevant -->
## Environment
- OS:
</details>
## Logs
<!-- Provide a brief log -->

23
.github/ISSUE_TEMPLATE/bug.yaml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: 🐛 Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

8
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: 💡 Have an idea for a new feature?
url: https://github.com/jef/zap2xml/discussions
about: Create a new idea discussion!
- name: 🙇 Need help?
url: https://github.com/jef/zap2xml/discussions
about: Create a new help discussion if it hasn't been asked before!

View File

@@ -1,12 +0,0 @@
---
name: 🚀 Feature request
about: Suggest a new idea
---
### Description
<!-- Describe the feature here. -->
### Possible solution
<!-- Describe the possible solution here. -->

19
.github/workflows/pr-lint.yaml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Pull Request Title Linter
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
pr_lint:
name: Lint pull request title
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Lint pull request title
uses: jef/conventional-commits-pr-action@v1