diff --git a/.github/workflows/packaged-browser-e2e.yml b/.github/workflows/packaged-browser-e2e.yml index 4967cdde400..de37e67ec23 100644 --- a/.github/workflows/packaged-browser-e2e.yml +++ b/.github/workflows/packaged-browser-e2e.yml @@ -18,6 +18,9 @@ on: required: false permissions: contents: read + +# Candidate source must not write caches in the dispatch branch's scope. +cache-mode: read jobs: compatibility: runs-on: ubuntu-latest diff --git a/.github/workflows/terminal-perf.yml b/.github/workflows/terminal-perf.yml index dfc0f917d88..bc727e34a10 100644 --- a/.github/workflows/terminal-perf.yml +++ b/.github/workflows/terminal-perf.yml @@ -51,6 +51,9 @@ on: permissions: contents: read +# Candidate source must not write caches in the dispatch branch's scope. +cache-mode: read + jobs: terminal-perf: name: terminal scale perf diff --git a/.github/workflows/windows-wsl-e2e.yml b/.github/workflows/windows-wsl-e2e.yml index b4382ac0a5a..9f9b36eb21d 100644 --- a/.github/workflows/windows-wsl-e2e.yml +++ b/.github/workflows/windows-wsl-e2e.yml @@ -16,6 +16,9 @@ on: permissions: contents: read +# Candidate source must not write caches in the dispatch branch's scope. +cache-mode: read + concurrency: group: windows-wsl-e2e-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true