Repository navigation
Harden GitHub Actions workflows - #8476
Merged
Merged
Conversation
absidue
requested review from
a user,
MarmadileManteater,
PikachuEXE,
efb4f5ff-1298-471a-8973-3d47447115dc and
kommunarr
January 3, 2026 13:02
FreeTubeBot
enabled auto-merge (squash)
January 3, 2026 13:02
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
efb4f5ff-1298-471a-8973-3d47447115dc
approved these changes
Jan 3, 2026
PikachuEXE
approved these changes
Jan 3, 2026
ghost
approved these changes
Jan 6, 2026
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Jan 7, 2026
* development: (26 commits) Use bash even in workflows that run on Windows (FreeTubeApp#8493) Translated using Weblate (Malay) fix refresh (FreeTubeApp#8475) Harden GitHub Actions workflows (FreeTubeApp#8476) Update copyright year to 2026 (FreeTubeApp#8487) Added translation using Weblate (Malay) Bump globals from 16.5.0 to 17.0.0 (FreeTubeApp#8484) Bump vue-i18n from 11.2.7 to 11.2.8 (FreeTubeApp#8483) Translated using Weblate (Welsh) Bump qs from 6.14.0 to 6.14.1 (FreeTubeApp#8471) Translated using Weblate (Estonian) Bump lefthook from 2.0.12 to 2.0.13 (FreeTubeApp#8461) Translated using Weblate (Dutch) Fix DeArrow thumbnails for shorts getting stretched (FreeTubeApp#8434) Clean up FtSlider CSS (FreeTubeApp#8438) Migrate the GeneralSettings component to the composition API (FreeTubeApp#8439) Translated using Weblate (English (United Kingdom)) Bump vue-i18n from 11.2.2 to 11.2.7 (FreeTubeApp#8451) Bump electron-builder from 26.3.6 to 26.4.0 (FreeTubeApp#8446) Bump lefthook from 2.0.11 to 2.0.12 (FreeTubeApp#8449) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Type
Description
This pull request improves the security of our GitHub Actions workflows in quite a few ways:
actions/checkoutaction persists the credentials used to clone the repo in the git config so that they can be used by other git commands, but as we don't run any other git commands in most workflows we don't need those credentials to be persisted. In the workflows that we do need the credentials for further git commands, we explicitly enable persisting the credentials, so that it is clear what is happening.GITHUB_TOKENto the GitHub CLI in the flatpak workflow with theGH_TOKENenvironment variable like we do in the auto merge workflow, instead of writing it to the disk.Additional context
I will work on replacing some of the simple third-party actions that we are using with shell commands or API calls with the GitHub CLI in a follow up.