Skip to content

Commit

Permalink
Add workflows for issue cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft committed Jan 22, 2025
1 parent 4ab6989 commit ab0a548
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/info-needed-closer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Info Needed Closer
on:
schedule:
- cron: 30 5 * * * # 10:30pm PT
workflow_dispatch:

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
path: ./actions
ref: stable
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Info Needed Closer
uses: ./actions/needs-more-info-closer
with:
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
label: info-needed
closeDays: 14
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/azcodeissuereporting) guidelines.\n\nHappy Coding!"
pingDays: 80
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
26 changes: 26 additions & 0 deletions .github/workflows/locker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Locker
on:
schedule:
- cron: 0 5 * * * # 10:00pm PT
workflow_dispatch:

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
path: ./actions
ref: stable
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Locker
uses: ./actions/locker
with:
app_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_ID }}
app_installation_id: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_INSTALLATION_ID }}
app_private_key: ${{ secrets.AZURETOOLS_VSCODE_BOT_APP_PRIVATE_KEY }}
daysSinceClose: 45
daysSinceUpdate: 7

0 comments on commit ab0a548

Please sign in to comment.