From 4268f423e83c44ef772202d22fd0b2002ae2894d Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 28 Jan 2022 20:16:11 +0100 Subject: [PATCH] Add locker action --- .github/workflows/locker.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/locker.yml diff --git a/.github/workflows/locker.yml b/.github/workflows/locker.yml new file mode 100644 index 00000000..4f1a2d90 --- /dev/null +++ b/.github/workflows/locker.yml @@ -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'