feat: Add ranger config
This commit is contained in:
39
ranger/plugins/ranger_devicons/.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
39
ranger/plugins/ranger_devicons/.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: Bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
- [ ] I've read the [guidelines for Contributing](https://github.com/alexanderjeurissen/ranger_devicons/blob/main/CONTRIBUTING.MD)
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Environment (please complete the following information):**
|
||||
- OS + version: [e.g. Mac OS Catalina 10.15.6]
|
||||
- shell [e.g. fish, zsh]
|
||||
- shell version [e.g. 3.1.2]
|
||||
|
||||
**Ranger devicons (please complete the following information):**
|
||||
- version / commit [e.g. HEAD]
|
||||
- output of `tree ~/.config/ranger` [can be installed on most OS using default package manager e.g. `apt-get install tree`]
|
||||
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
5
ranger/plugins/ranger_devicons/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
ranger/plugins/ranger_devicons/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Personal Support / Discussion
|
||||
url: https://github.com/alexanderjeurissen/ranger_devicons/discussions
|
||||
about: Personal support and general discussion should be conducted in our community forum.
|
||||
22
ranger/plugins/ranger_devicons/.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
22
ranger/plugins/ranger_devicons/.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
- [ ] I've read the [guidelines for Contributing](https://github.com/alexanderjeurissen/ranger_devicons/blob/main/CONTRIBUTING.MD)
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
13
ranger/plugins/ranger_devicons/.github/workflows/greetings.yml
vendored
Normal file
13
ranger/plugins/ranger_devicons/.github/workflows/greetings.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Greetings
|
||||
|
||||
on: [pull_request, issues]
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Hello 👋 Thanks for submitting your first issue. We appreciate that you care about this project and want to help make it the best it can be.'
|
||||
pr-message: 'Hello 👋 Thank you so much for your first contribution to this project 🎉'
|
||||
12
ranger/plugins/ranger_devicons/.github/workflows/main.yml
vendored
Normal file
12
ranger/plugins/ranger_devicons/.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: Autocloser
|
||||
on: [issues]
|
||||
jobs:
|
||||
autoclose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Autoclose issues that did not follow issue template
|
||||
uses: roots/issue-closer@v1.1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the issue template. Please refer to the [guidelines for Contributing](https://github.com/alexanderjeurissen/ranger_devicons/blob/main/CONTRIBUTING.MD)"
|
||||
issue-pattern: ".*guidelines for Contributing.*"
|
||||
21
ranger/plugins/ranger_devicons/.github/workflows/python-tests.yml
vendored
Normal file
21
ranger/plugins/ranger_devicons/.github/workflows/python-tests.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Python tests
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install pytest
|
||||
- name: Run tests
|
||||
run: pytest -q
|
||||
19
ranger/plugins/ranger_devicons/.github/workflows/stale.yml
vendored
Normal file
19
ranger/plugins/ranger_devicons/.github/workflows/stale.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Mark stale issues and pull requests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v3.0.17
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'This issue has not seen any recent activity and therefore has been marked as `stale`. If the issue is no longer relevant, please attend the author so that the issue can be closed.'
|
||||
stale-pr-message: 'This pull-request has not seen any recent activity. If the proposed change is no longer desired, please attend the author so that the PR can be closed.'
|
||||
stale-issue-label: 'stale-issue'
|
||||
stale-pr-label: 'stale-pr'
|
||||
Reference in New Issue
Block a user