Skip to content

Commit

Permalink
Merge pull request #2136 from eirannejad/master
Browse files Browse the repository at this point in the history
bring github workflow mods to develop-4 branch
  • Loading branch information
jmcouffin authored Mar 4, 2024
2 parents 486729a + 37710c7 commit f48b820
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 2 deletions.
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
name: Bug report
description: Thanks for taking the time to report a bug!
title: "[Bug]: "
labels: [Bug]
body:
- type: markdown
attributes:
value: |
> **🚧 If you have SentinelOne installed as an antivirus, look no further.**
> **You will need to create exceptions for Revit and pyRevit, both on the software and the %appdata% folders.**
- type: checkboxes
id: preflight
attributes:
label: ✈ Pre-Flight checks
description: before submitting an issue, make sure you've checked the following
options:
- label: I **don't have SentinelOne** antivirus installed (see above for the solution)
required: true
- label: I have **searched in the issues** (open and closed) but couldn't find a similar issue
required: true
- label: I have **searched in the [pyRevit Forum](https://discourse.pyrevitlabs.io)** for similar issues
required: true
- label: I already **followed the [installation troubleshooting guide](https://pyrevitlabs.notion.site/Installation-issues-f6495adb56254e9e8021f8a68e3b2ab7) thoroughly**
required: true
- label: I am using the **latest pyRevit Version**
required: true
- type: textarea
id: description
attributes:
label: 🐞 Describe the bug
description: Be as specific as possible and list steps to reproduce the issue. If you have any suggestions for the solution, please list that as well.
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: ♻️ To Reproduce
description: Steps to reproduce the behavior
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
- type: textarea
id: expected-behavior
attributes:
label: ⏲️ Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: env
attributes:
label: 🖥️ Hardware and Software Setup (please complete the following information)
description: Open a command prompt 🖥 and run the command `pyrevit env`. Paste the output here.
render: shell
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ updates:
day: "sunday"
# Raise pull requests for version updates
# to pip against the `develop` branch
target-branch: "develop"
target-branch: "develop-4"
- package-ecosystem: "gomod"
# directory required https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#vendor
directory: "/"
target-branch: "develop"
target-branch: "develop-4"
schedule:
interval: "weekly"
21 changes: 21 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/[email protected]
with:
days-before-issue-stale: 60
days-before-issue-close: 14
stale-issue-message: "This issue is stale because it has been open for 60 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1

0 comments on commit f48b820

Please sign in to comment.