Commit Graph

20 Commits (3a2f25cdca6909baf02728f7c19173fddd552b0a)

Author SHA1 Message Date
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
bashonly 29fe515d8d
[devscripts] `install_deps`: Align options/terms with PEP 735 (#15200)
Authored by: bashonly
1 month ago
bashonly 73922e66e4
[devscripts] Improve `install_deps` script (#14766)
Authored by: bashonly
3 months ago
bashonly ae3923b6b2
[ci] Improve workflow checks (#14316)
Authored by: bashonly
4 months ago
bashonly e2d37bcc8e
[build] Refactor Linux build jobs (#14275)
Authored by: bashonly
4 months ago
sepro e6e6b51214
[docs] Clarify license of PyInstaller-bundled executables (#14257)
Closes #348

Authored by: seproDev
4 months ago
bashonly cd94e70040
[build] Post-release workflow cleanup (#14250)
Authored by: bashonly
4 months ago
bashonly 50136eeeb3
[build] Overhaul Linux builds and refactor release workflow (#13997)
- Use `manylinux-shared` images for Linux builds
- Discontinue `yt-dlp_linux_armv7l`/`linux_armv7l_exe` release binary
- Add `yt-dlp_linux_armv7l.zip`/`linux_armv7l_dir` release binary
- Add `yt-dlp_musllinux` and `yt-dlp_musllinux_aarch64` release binaries
- Migrate `linux_exe` build strategy from staticx+musl to manylinux2014/glibc2.17
- Rewrite release.yml's "unholy bash monstrosity" as devscripts/setup_variables.py

Closes #10072, Closes #10630, Closes #10578, Closes #13976, Closes #13977, Closes #14106
Authored by: bashonly
4 months ago
bashonly 66aa21dc5a
[build] Use `macos-14` runner for `macos` builds (#13814)
Ref: https://github.blog/changelog/2025-07-11-upcoming-changes-to-macos-hosted-runners-macos-latest-migration-and-xcode-support-policy-updates/#macos-13-is-closing-down

Authored by: bashonly
6 months ago
bashonly cc749a8a3b
[build] Exclude `pkg_resources` from being collected (#13320)
Closes #13311
Authored by: bashonly
8 months ago
bashonly a886cf3e90
[build] Migrate `py2exe` builds to `win_exe` (#11256)
This commit removes py2exe support

Closes #10087
Authored by: bashonly
1 year ago
bashonly 4521f30d14 [build] Include `curl_cffi` in `yt-dlp_linux`
Authored by: bashonly
2 years ago
sepro add96eb9f8
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2 years ago
bashonly db50f19d76
[rh:requests] Bump minimum `requests` version to 2.32.2 (#10079)
Closes #10078
Authored by: bashonly
2 years ago
Simon Sawicki 3f7999533e
[rh:requests] Patch support for `requests` 2.32.2+ (#9992)
Authored by: Grub4K
2 years ago
bashonly 6e36d17f40
[build] Exclude `requests` from `py2exe` (#9982)
Authored by: bashonly
2 years ago
Simon Sawicki ac817bc83e
[build] Migrate `linux_exe` to static musl builds (#9811)
Authored by: Grub4K, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2 years ago
sepro 388c979ac6
[docs] Update yt-dlp tagline (#9481)
Authored by: seproDev, bashonly, coletdjnz, Grub4K, pukkandan
2 years ago
pukkandan 615a84447e
[cleanup] Misc (#8968)
Authored by: pukkandan, bashonly, seproDev
2 years ago
bashonly a1b7784289
[build] Move bundle scripts into `bundle` submodule
Authored by: bashonly
2 years ago