Skip to content

Commit

Permalink
update templates based on tests in our test repo
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 21, 2024
1 parent eaee555 commit 50d94fd
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 44 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
---
name: Report a problem
about: Create a report to let us help you
title: ''
labels: []
assignees: ''

description: Create a report to let us help you
body:
- type: textarea
attributes:
label: What events trigger your workflow?
id: ci-triggers
description: >-
Please copy and paste the workflow triggers.
If you are using a resuable workflow (`workflow_dispatch` event),
Expand All @@ -22,8 +18,11 @@ body:
branches: [main, master, develop]
paths: ['**.c', '**.cpp', '**.h', '**.hpp', '**.cxx', '**.hxx', '**.cc', '**.hh', '**CMakeLists.txt', 'meson.build', '**.cmake']
render: yml
validations:
required: true

- type: textarea
id: runner-os
attributes:
label: What OS does your workflow use?
description: >-
Expand All @@ -34,8 +33,11 @@ body:
runs-on: ubuntu-latest
container: node:18
render: yml
validations:
required: true

- type: textarea
id: cpp-linter-config
attributes:
label: How is cpp-linter-action configured?
description: >-
Expand All @@ -49,12 +51,17 @@ body:
style: 'file'
tidy-checks: ''
render: yml
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: What was the unexpected behavior?
description: |-
description: >-
Use this area to describe what behavior you expected and what behavior you observed.
Please be clear and concise as possible. Use screenshots if that would help. Most users
use this to paste the workflow logs.
placeholder: You can use markdown syntax here
validations:
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
blank_issues_enabled: false
# if the templates provided don't fit the subject of the user feedback,
# here we can give links to other forms of user feedback
contact-links:
contact_links:
- name: cpp-linter discussions
url: https://github.com/orgs/cpp-linter/discussions
about: A place for feedback not specific to cpp-linter-action
58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name: Feature request
description: Suggest an idea for this project
body:
- type: dropdown
id: existing-feature
attributes:
label: Is your idea related to an existing feature?
description: >-
If this idea is related to an already available feature(s), then please list them here.
multiple: true
options:
- version
- thread-comments
- tidy-checks
- style
- lines-changed-only
- ignore
- tidy-ignore
- format-ignore
- files-changed-only
- file-annotations
- step-summary
- no-lgtm
- tidy-review
- format-review
- passive-reviews
- verbosity
- 'output: checks-failed'
- 'output: clang-tidy-checks-failed'
- 'output: clang-format-checks-failed'

- type: textarea
id: behavior
attributes:
label: Describe the behavior you would like
description: >-
Use this area to describe what behavior you desire.
Please be clear and concise as possible. Use screenshots if that would help.
placeholder: You can use markdown syntax here
validations:
required: true

- type: textarea
id: alternative
attributes:
label: Describe alternatives you have considered
description: >-
Were you able to achieve the desired behavior in some other/inconvenient way?
placeholder: You can use markdown syntax here

- type: textarea
id: added-context
attributes:
label: Additional context
description: >-
If there is anything that might be special or specific to your usage, please let us know.
placeholder: You can use markdown syntax here
36 changes: 0 additions & 36 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

0 comments on commit 50d94fd

Please sign in to comment.