mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
b6200bdcf3
Co-authored-by: bashonly <bashonly@protonmail.com> Authored by: bashonly, Grub4K
21 lines
459 B
YAML
21 lines
459 B
YAML
name: Issue Lockdown
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
lockdown:
|
|
name: Issue Lockdown
|
|
if: vars.ISSUE_LOCKDOWN
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Lock new issue"
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
|
REPOSITORY: ${{ github.repository }}
|
|
run: |
|
|
gh issue lock "${ISSUE_NUMBER}" -R "${REPOSITORY}"
|