Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: create issue templates #842

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

MartinWeb
Copy link
Contributor

No description provided.

name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouter le label bug

@JLou
Copy link
Contributor

JLou commented Feb 12, 2025

est-ce qu'on ne ferait pas une issue template par DS ? Comme ca on a le bon label slash ou look-and-feel sur l'issue ?
Apres ca fait 4 fichiers identiques quoi 🤷

@pplancq
Copy link
Contributor

pplancq commented Feb 12, 2025

est-ce qu'on ne ferait pas une issue template par DS ? Comme ca on a le bon label slash ou look-and-feel sur l'issue ? Apres ca fait 4 fichiers identiques quoi 🤷

Il me semble qu'avec un fichier config.yml on peut résoudre ce problème

blank_issues_enabled: true
contact_links:
  - name: GitHub Community Support
    url: https://support.github.com
    about: Check out our Community Support for help with non-bug related issues.
issue_templates:
  - name: Slash Bug report
    about: Create a report to help us improve
    labels: 
      - bug
      - slash
    template: bug_report.md
  - name: Look&Feel Bug report
    about: Create a report to help us improve
    labels: 
      - bug
      - Look&Feel
    template: bug_report.md

.github/ISSUE_TEMPLATE/bug_report.md Outdated Show resolved Hide resolved
.github/ISSUE_TEMPLATE/bug_report.md Outdated Show resolved Hide resolved
@MartinWeb
Copy link
Contributor Author

est-ce qu'on ne ferait pas une issue template par DS ? Comme ca on a le bon label slash ou look-and-feel sur l'issue ? Apres ca fait 4 fichiers identiques quoi 🤷

Il me semble qu'avec un fichier config.yml on peut résoudre ce problème

blank_issues_enabled: true
contact_links:
  - name: GitHub Community Support
    url: https://support.github.com
    about: Check out our Community Support for help with non-bug related issues.
issue_templates:
  - name: Slash Bug report
    about: Create a report to help us improve
    labels: 
      - bug
      - slash
    template: bug_report.md
  - name: Look&Feel Bug report
    about: Create a report to help us improve
    labels: 
      - bug
      - Look&Feel
    template: bug_report.md

@pplancq tu as trouvé ça sur la documentation Github quelque part ?

@MartinWeb MartinWeb force-pushed the chore/issue-templates branch from d33cf0a to f230ad4 Compare February 18, 2025 10:13
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
50.1% Coverage on New Code (required ≥ 80%)
6.8% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@pplancq
Copy link
Contributor

pplancq commented Feb 18, 2025

est-ce qu'on ne ferait pas une issue template par DS ? Comme ca on a le bon label slash ou look-and-feel sur l'issue ? Apres ca fait 4 fichiers identiques quoi 🤷

Il me semble qu'avec un fichier config.yml on peut résoudre ce problème

blank_issues_enabled: true
contact_links:
  - name: GitHub Community Support
    url: https://support.github.com
    about: Check out our Community Support for help with non-bug related issues.
issue_templates:
  - name: Slash Bug report
    about: Create a report to help us improve
    labels: 
      - bug
      - slash
    template: bug_report.md
  - name: Look&Feel Bug report
    about: Create a report to help us improve
    labels: 
      - bug
      - Look&Feel
    template: bug_report.md

@pplancq tu as trouvé ça sur la documentation Github quelque part ?

@MartinWeb alors je n'arrive plus à trouve de la doc sur tous ce que l'on peut faire avec. il reste cette doc qui en parle vite fait https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser

par contre ce genre de fichier fonctionne car c'est ce que j'utilise pour mes repos https://github.com/pplancq/.github/blob/main/.github/ISSUE_TEMPLATE/config.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants