mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-19 13:52:36 +00:00
* Include `pin*` extras in lockfile * Fix and clean up `devscripts/update_requirements.py` * Improve release channel documentation * Remove false statement from `--prefer-insecure` documentation * Assorted code cleanup * Set `GH_TELEMETRY=false` in CI/CD whenever `gh` is used * Add comments about required checks in CI workflows * Run `test-workflows.yml` for every PR so its checks can be required * Verify actionlint attestation in CI * Remove zizmor version to reduce workflow maintenance burden (zizmor-action handles pinning on its end) Authored by: bashonly
26 lines
538 B
YAML
26 lines
538 B
YAML
name: Issue Lockdown
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
permissions: {}
|
|
|
|
env:
|
|
GH_TELEMETRY: "false"
|
|
|
|
jobs:
|
|
lockdown:
|
|
name: Issue lockdown
|
|
if: vars.ISSUE_LOCKDOWN
|
|
permissions:
|
|
issues: write # Needed to lock issues
|
|
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 -R "${REPOSITORY}" "${ISSUE_NUMBER}"
|