|
@@ -0,0 +1,28 @@
|
|
|
+name: Locker
|
|
|
+on:
|
|
|
+ schedule:
|
|
|
+ - cron: 21 23 * * * # 5:20pm Redmond
|
|
|
+ repository_dispatch:
|
|
|
+ types: [trigger-locker]
|
|
|
+ # enable users to manually trigger with workflow_dispatch
|
|
|
+ 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:
|
|
|
+ daysSinceClose: 45
|
|
|
+ appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
|
|
|
+ daysSinceUpdate: 3
|
|
|
+ ignoredLabel: '*out-of-scope'
|