Skip to content

Commit 9574240

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Attempt to fix Javadoc snapshots:
- #1413 - google/auto#1900 - google/jimfs#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 3a0cf9a commit 9574240

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
@@ -63,6 +63,8 @@ jobs:
6363
run: mvn -B clean source:jar javadoc:jar deploy -DskipTests=true
6464

6565
generate_docs:
66+
permissions:
67+
contents: write
6668
name: 'Generate latest docs'
6769
needs: test
6870
if: github.event_name == 'push' && github.repository == 'google/truth'

0 commit comments

Comments
 (0)