Skip to content

Locker - Lock stale issues #355

Locker - Lock stale issues

Locker - Lock stale issues #355

Workflow file for this run

name: Locker - Lock stale issues
on:
schedule:
- cron: '34 12 * * 1-5' # Once per weekday, 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
if: ${{ github.repository_owner == 'dotnet' }}
steps:
- name: Checkout Actions
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: "microsoft/vscode-github-triage-actions"
path: ./actions
ref: 066bee9cefa6f0b4bf306040ff36fc7d96a6d56d # Pin to commit: https://github.com/microsoft/vscode-github-triage-actions/commit/066bee9cefa6f0b4bf306040ff36fc7d96a6d56d
- 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