Skip to content

Add cache-mode to all GitHub Actions workflows - #9809

Merged
FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:workflows-cache-mode
Sep 16, 2026
Merged

FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:workflows-cache-mode

Conversation

@absidue

@absidue absidue commented Sep 15, 2026

Copy link
Copy Markdown
Member

Pull Request Type

  • Security improvement

Description

GitHub recently added a new cache-mode key for GitHub Actions workflows that allows us to control which level of cache access each workflow and job should have ranging from read and write access, to read-only access all the way to no access. This pull request sets cache-mode: none in all workflows at the workflow level and adds overrides for the individual jobs that actually need read-only or read and write access, which is the same approach that we use for the permissions key that configures the GITHUB_TOKEN permissions.

References:

Testing

Successful build workflow: https://github.com/absidue/FreeTube/actions/runs/34995688123
The lint workflow on this pull request

Desktop

  • OS: Windows
  • OS Version: 11

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 15, 2026 16:41
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 15, 2026
@FreeTubeBot
FreeTubeBot merged commit 85e95ab into FreeTubeApp:development Sep 16, 2026
6 checks passed
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 16, 2026
@absidue
absidue deleted the workflows-cache-mode branch September 16, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants