name: Lock closed issue

on: 
  issues:
    types: [closed]

permissions:
  contents: read
  issues: write

jobs:
  lock:
    runs-on: ubuntu-latest
    steps:
    - uses: OSDKDev/lock-issues@v1.1
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"
