Commit 6ebd379
committed
ci(code-formatting-check): grant actions:write on taplo-fmt for cache
Per Copilot review on #657: `taiki-e/cache-cargo-install-action` writes to the GitHub Actions cache. With the workflow's default permissions pinned to `contents: read`, that step would fail without an `actions: write` scope on the `taplo-fmt` job. Adds a per-job permissions block so the cache save/restore continues to work after the workflow-level restriction.
Signed-off-by: Arpit Jain <arpitjain099@gmail.com>1 parent 57ff950 commit 6ebd379
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments