2022-01-29 03:16:11 +08:00
|
|
|
name: Locker
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: 21 23 * * * # 5:20pm Redmond
|
|
|
|
repository_dispatch:
|
|
|
|
types: [trigger-locker]
|
2022-01-29 03:29:05 +08:00
|
|
|
workflow_dispatch:
|
2022-01-29 03:16:11 +08:00
|
|
|
|
|
|
|
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'
|