Skip to content

Locker - Lock stale issues #202

Locker - Lock stale issues

Locker - Lock stale issues #202

Workflow file for this run

name: Locker - Lock stale issues
on:
schedule:
- cron: '34 8 * * *' # Once per day, overnight PT, uncommon minute of hour
workflow_dispatch:
# Manual triggering through the GitHub UI, API, or CLI
inputs:
daysSinceClose:
required: true
default: "30"
daysSinceUpdate:
required: true
default: "30"
permissions:
issues: write
pull-requests: write
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4
with:
repository: "microsoft/vscode-github-triage-actions"
path: ./actions
ref: 0e46b66330f7fbece9aacc65c31c38f434041050 # Pin to commit: https://github.com/microsoft/vscode-github-triage-actions/commit/0e46b66330f7fbece9aacc65c31c38f434041050
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Locker
uses: ./actions/locker
with:
daysSinceClose: ${{ fromJson(inputs.daysSinceClose || 30) }}
daysSinceUpdate: ${{ fromJson(inputs.daysSinceUpdate || 30) }}
ignoredLabel: "Bot: Do Not Lock"
typeIs: issue