Skip to content

Commit

Permalink
Merge pull request #2179 from sanzoghenzo/master
Browse files Browse the repository at this point in the history
chore: add custom slash commands for isssues
  • Loading branch information
jmcouffin committed Mar 30, 2024
2 parents 089c3c6 + ddfbc44 commit 43302c5
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 13 deletions.
27 changes: 27 additions & 0 deletions .github/slash-commands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
issues:
more-info:
label:
- needs-more-info

install-fix:
comment: >
Hi @{{ author }}, Thy these steps:
1. Uninstall pyRevit
2. Delete C:\ProgramData and %AppData%\ pyRevit and pyrevit-master folders
3. Move all Revit addins to a temporary location. Usual addins locations include:
- %AppData%\Autodesk\Revit\Addins<year>
- %AppData%\Autodesk\ApplicationPlugins
- %ProgramData%\Autodesk\Revit\Addins<year>
- %ProgramData%\Autodesk\ApplicationPlugins
4. [Reboot computer]
5. Reinstall pyRevit
6. Started each version of Revit confirming pyRevit successfully compiled at startup.
7. Move all Revit addins that were moved in step 3 back to their original location.
You may want to add them one at a time and start a revit session everytime to figure out which ones are causing the issue.
20 changes: 20 additions & 0 deletions .github/workflows/issues-manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: issues-manager
on:
issue_comment:
types: [created]

jobs:
issue_commented:
runs-on: ubuntu-latest
steps:
- name: Custom Slash Commands
uses: wow-actions/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: .github/slash-commands.yml

- name: Pending Response Follow Up
uses: siegerts/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pending-response-label: needs-more-info
13 changes: 0 additions & 13 deletions .github/workflows/needs-info-manager.yml

This file was deleted.

0 comments on commit 43302c5

Please sign in to comment.