Skip to content

Conversation

@absidue
Copy link
Member

@absidue absidue commented Jan 8, 2026

Pull Request Type

  • Security improvement

Description

Currently we use the GitHub Actions expression syntax directly in the scripts, which means that bad input could break the workflows or result in extra code being run. This pull request switches to using environment variables instead, that way they can be read securely inside the scripts (quoted in shell scripts, using strenv() in yq commands and with process.env in the actions/github-script action). Other changes include switching from using the mikefarah/yq action to using the yq binary that is preinstalled on the GitHub Actions runner and using step outputs with explicit env: declarations instead of $GITHUB_ENV.

Desktop

  • OS: Windows
  • OS Version: 11

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jan 8, 2026
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) January 8, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting for review For PRs that are complete, tested, and ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants