Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lock.yml « workflows « .github - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4ec30d4d75852d0ae9df8d9044f6fc3865cd929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: 'Lock threads'

on:
  schedule:
    - cron: '0 0 * * *'

permissions:
  contents: read

jobs:
  lock:
    permissions:
      issues: write  # for dessant/lock-threads to lock issues
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/lock-threads@v2
        with:
          github-token: ${{ github.token }}
          process-only: 'issues'
          issue-lock-inactive-days: 365