You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yt-dlp/devscripts
bashonly ab3ff2d5dd
[build] Harden CI/CD pipeline (#15387)
* NOTE: the release workflows' new handling of secrets
  may be a breaking change for forks that are using any secrets
  other than GPG_SIGNING_KEY or ARCHIVE_REPO_TOKEN.

  Previously, the release workflow would try to resolve a token
  secret name based on the `target` or `source` input,
  e.g. NIGHTLY_ARCHIVE_REPO_TOKEN or CUSTOM_ARCHIVE_REPO_TOKEN,
  and then fall back to using the ARCHIVE_REPO_TOKEN secret if the
  resolved token secret name was not found in the repository.

  This behavior has been replaced by the release workflow
  always using the ARCHIVE_REPO_TOKEN secret as the token
  for publishing releases to any external archive repository.

* Add zizmor CI job for auditing workflows

* Pin all actions to commit hashes instead of symbolic references

* Explicitly set GITHUB_TOKEN permissions at the job level

* Use actions/checkout with `persist-credentials: false` whenever possible

* Remove/replace template expansions in workflow scripts

* Remove all usage of actions/cache from build/release workflows

* Remove the cache-warmer.yml workflow

* Remove the unused download.yml workflow

* Set concurrency limits for any workflows that are triggered by PRs

* Avoid loading the entire secrets context

* Replace usage of `secrets: inherit` with explicit `secrets:` blocks

* Pin all external docker images to hash that are used by the build workflow

* Explicitly set `shell: bash` for some steps to avoid pwsh or set pipefail

* Ensure any pwsh steps will fail on non-zero exit codes

Authored by: bashonly
2 weeks ago
..
__init__.py [cleanup] Misc (#8968) 2 years ago
bash-completion.in [cleanup] Misc (#13852) 5 months ago
bash-completion.py [cleanup] Add more ruff rules (#10149) 2 years ago
changelog_override.json [cleanup] Misc (#15016) 1 month ago
changelog_override.schema.json [devscripts] Script to generate changelog (#6220) 3 years ago
check-porn.py [compat] Remove deprecated functions from core code 4 years ago
cli_to_api.py Warn when yt-dlp is severely outdated (#13937) 5 months ago
fish-completion.in Completely change project name to yt-dlp (#85) 5 years ago
fish-completion.py [cleanup] Consistent style for file heads 4 years ago
generate_aes_testdata.py [cleanup] Deprecate more compat functions (#11439) 1 year ago
generate_third_party_licenses.py [ie/youtube] Implement external n/sig solver (#14157) 2 months ago
install_deps.py [devscripts] `install_deps`: Align options/terms with PEP 735 (#15200) 1 month ago
lazy_load_template.py [extractor] Support multiple `_VALID_URL`s (#5812) 3 years ago
logo.ico Add logo and banner 5 years ago
make_changelog.py [cleanup] Misc (#15016) 1 month ago
make_contributing.py [cleanup] Bump ruff to 0.13.x (#14293) 4 months ago
make_issue_template.py [misc] Clarify that the issue template cannot be removed (#12332) 11 months ago
make_lazy_extractors.py [core] Load plugins on demand (#11305) 11 months ago
make_readme.py [cleanup] Add more ruff rules (#10149) 2 years ago
make_supportedsites.py [docs] Add note to `supportedsites.md` (#12382) 11 months ago
prepare_manpage.py [docs] Various manpage fixes 2 years ago
run_tests.py [test] Skip flaky tests if source unchanged (#14970) 2 months ago
set-variant.py [cleanup] Add more ruff rules (#10149) 2 years ago
setup_variables.py [build] Harden CI/CD pipeline (#15387) 2 weeks ago
setup_variables_tests.py [build] Harden CI/CD pipeline (#15387) 2 weeks ago
tomlparse.py [cleanup] Standardize `import datetime as dt` (#8978) 2 years ago
update-version.py [build] Overhaul Linux builds and refactor release workflow (#13997) 4 months ago
update_changelog.py [build] Overhaul Linux builds and refactor release workflow (#13997) 4 months ago
update_ejs.py [cleanup] Misc (#14767) 2 months ago
utils.py [build] Overhaul Linux builds and refactor release workflow (#13997) 4 months ago
zsh-completion.in Completely change project name to yt-dlp (#85) 5 years ago
zsh-completion.py [misc] Fix zsh path argument completion (#14953) 2 months ago