Skip to content

Commit 2d71746

Browse files
cpovirkJimfs Team
authored andcommitted
Attempt to fix Javadoc snapshots:
- google/truth#1413 - google/auto#1900 - #401 Compare cl/460733976 from google/guava#6106. I notice that that earlier CL also added a `permissions` section for the `test` job, both for reading (for `actions/checkout`) and for writing (for `styfle/cancel-workflow-action`, which apparently [we probably shouldn't be using nowadays](https://github.com/styfle/cancel-workflow-action/blob/main/README.md#:~:text=You%20probably%20don%27t%20need%20to%20install%20this%20custom%20action) and which [might not even need the explicit permissions](https://github.com/styfle/cancel-workflow-action/blob/main/README.md#advanced-token-permissions)?). I'm not worrying about that for now, but that offers further evidence that I have no idea what I'm doing here. RELNOTES=n/a PiperOrigin-RevId: 802304800
1 parent b6ee6d1 commit 2d71746

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
run: mvn -B clean source:jar javadoc:jar deploy -DskipTests=true
8282

8383
generate_docs:
84+
permissions:
85+
contents: write
8486
name: 'Generate latest docs'
8587
needs: test
8688
if: github.event_name == 'push' && github.repository == 'google/jimfs'

0 commit comments

Comments
 (0)