Skip to content

Commit

Permalink
πŸ€– Update infrastructure file(s) (#252)
Browse files Browse the repository at this point in the history
* πŸ€– updated file(s)

* Re-add template details

* πŸ€– updated file(s)

* Remove unneeded template file to pull from conda

* πŸ€– updated file(s)

---------

Co-authored-by: Marco Esters <[email protected]>
  • Loading branch information
conda-bot and marcoesters authored Sep 16, 2024
1 parent dbac04b commit b2d9c74
Show file tree
Hide file tree
Showing 13 changed files with 401 additions and 37 deletions.
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/0_bug.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# edit this in https://github.com/conda/infrastructure

name: Bug Report
description: Create a bug report.
labels:
Expand All @@ -13,7 +15,7 @@ body:
Since there are already a lot of open issues, please also take a moment to search existing ones to see if your bug has already been reported. If you find something related, please upvote that issue and provide additional details as necessary.
πŸ’ Thank you for helping to make Conda better. We would be unable to improve Conda without our community!
πŸ’ Thank you for helping to make `conda/menuinst` better. We would be unable to improve `conda/menuinst` without our community!
- type: checkboxes
id: checks
attributes:
Expand Down Expand Up @@ -70,6 +72,7 @@ body:
conda list --show-channel-urls
```
render: shell

- type: textarea
id: context
attributes:
Expand Down
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/1_feature.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# edit this in https://github.com/conda/infrastructure

name: Feature Request
description: Create a feature request.
labels:
Expand All @@ -13,7 +15,7 @@ body:
Since there are already a lot of open issues, please also take a moment to search existing ones to see if your feature request has already been submitted. If you find something related, please upvote that issue and provide additional details as necessary.
πŸ’ Thank you for helping to make Conda better. We would be unable to improve Conda without our community!
πŸ’ Thank you for helping to make `conda/menuinst` better. We would be unable to improve `conda/menuinst` without our community!
- type: checkboxes
id: checks
attributes:
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/2_documentation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# edit this in https://github.com/conda/infrastructure

name: Documentation
description: Create a documentation related issue.
labels:
Expand Down
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/epic.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# edit this in https://github.com/conda/infrastructure

name: Epic
description: A collection of related tickets.
labels:
Expand All @@ -15,7 +17,8 @@ body:
Since there are already a lot of open issues, please also take a moment to search existing ones to see if a similar epic has already been opened. If you find something related, please upvote that issue and provide additional details as necessary.
πŸ’ Thank you for helping to make Conda better. We would be unable to improve Conda without our community!
πŸ’ Thank you for helping to make `conda/menuinst` better. We would be unable to improve `conda/menuinst` without our community!
- type: checkboxes
id: checks
attributes:
Expand Down
12 changes: 7 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@
### Checklist - did you ...

<!-- If any of the following items aren't relevant to your contribution,
please still tick them so we know you've gone through the checklist. -->
please either tick them or use ~strikethrough~ so we know you've gone
through the checklist. -->

- [ ] Add a file to the `news` directory ([using the template](../blob/main/news/TEMPLATE)) for the next release's release notes?
- [ ] Add a file to the `news` directory ([using the template](https://github.com/conda/menuinst/blob/main/news/TEMPLATE)) for the next release's release notes?
<!-- All "significant" changes should get an entry:
- user-facing changes or enhancements
- bug fixes
- deprecations
- documentation updates
- other changes -->
- etc -->
- [ ] Add / update necessary tests?
- [ ] Add / update outdated documentation?


<!-- Just as a reminder, everyone in all conda org spaces (including PRs)
must follow the Conda Org Code of Conduct (link below).
Expand All @@ -31,5 +33,5 @@
let us know!
Helpful links:
- Conda Org COC: https://github.com/conda-incubator/governance/blob/main/CODE_OF_CONDUCT.md
- Contributing docs: ../blob/main/CONTRIBUTING.md -->
- Conda Org COC: https://github.com/conda/menuinst/blob/main/CODE_OF_CONDUCT.md
- Contributing docs: https://github.com/conda/menuinst/blob/main/CONTRIBUTING.md -->
4 changes: 4 additions & 0 deletions .github/template-files/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ conda/governance:
# [required] community files
- CODE_OF_CONDUCT.md

conda/conda:
# issue template details for templates/issues/bug.yml template
- .github/template-files/templates/issue_template_details.yml

conda/infrastructure:
# [required] general workflows
- .github/workflows/cla.yml
Expand Down
39 changes: 39 additions & 0 deletions .github/template-files/templates/issue_template_details.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
- type: textarea
id: info
attributes:
label: Conda Info
description: |
Let's collect some basic information about your conda install.
Please run the following command from your command line and paste the output below.
```bash
conda info
```
render: shell
- type: textarea
id: config
attributes:
label: Conda Config
description: |
Let's collect any customizations you may have for your conda install.
Please run the following command from your command line and paste the output below.
```bash
conda config --show-sources
```
render: shell
- type: textarea
id: list
attributes:
label: Conda list
description: |
The packages installed into your environment can offer clues as to the problem you are facing.
Please activate the environment within which you are encountering this bug, run the following command from your command line, and paste the output below.
```bash
conda list --show-channel-urls
```
render: shell
15 changes: 15 additions & 0 deletions .github/template-files/templates/pull_request_template_details.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### Checklist - did you ...

<!-- If any of the following items aren't relevant to your contribution,
please either tick them or use ~strikethrough~ so we know you've gone
through the checklist. -->

- [ ] Add a file to the `news` directory ([using the template](https://github.com/conda/menuinst/blob/main/news/TEMPLATE)) for the next release's release notes?
<!-- All "significant" changes should get an entry:
- user-facing changes or enhancements
- bug fixes
- deprecations
- documentation updates
- etc -->
- [ ] Add / update necessary tests?
- [ ] Add / update outdated documentation?
3 changes: 1 addition & 2 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with:
# Number of days of inactivity before a closed issue is locked
issue-inactive-days: 365
issue-inactive-days: 180
# Do not lock issues created before a given timestamp, value must follow ISO 8601
exclude-issue-created-before: ''
# Do not lock issues with these labels, value must be a comma separated list of labels or ''
Expand All @@ -29,7 +29,6 @@ jobs:
add-issue-labels: locked
# Reason for locking an issue, value must be one of resolved, off-topic, too heated, spam or ''
issue-lock-reason: resolved

# Number of days of inactivity before a closed pull request is locked
pr-inactive-days: 365
# Do not lock pull requests created before a given timestamp, value must follow ISO 8601
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- if: github.event.comment.body != '@conda-bot render'
id: create
# no-op if no commits were made
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1
with:
push-to-fork: ${{ env.FORK }}
token: ${{ secrets.SYNC_TOKEN }}
Expand Down
Loading

0 comments on commit b2d9c74

Please sign in to comment.