The repository now only permits official/verified actions and requires
every action to be pinned to a full-length commit SHA. All 16 `uses:`
entries referenced floating tags, so both workflows were being rejected.
- Pin every action to its release commit SHA, with a trailing version
comment so the intended version stays readable:
actions/checkout v3 -> v7.0.1 (3d3c42e)
actions/setup-java v3 -> v5.6.0 (03ad4de)
actions/cache v3 -> v6.1.0 (55cc834)
actions/upload-artifact v4 -> v7.0.1 (043fb46)
codecov/codecov-action v3 -> v7.0.0 (fb8b358)
- Rename the Codecov `file` input to `files`; `file` was removed in v4.
- Add `permissions: contents: read` to both workflows so jobs stop
running with the default write-capable token.
- Add `persist-credentials: false` to checkout so the token is not left
behind in .git/config. Nothing in either workflow pushes.
- Add the github-actions ecosystem to Dependabot, grouped and weekly, so
the new pins get bumped instead of silently rotting.
Job graphs, step order and Maven commands are unchanged.
The repository now only permits official/verified actions and requires every action to be pinned to a full-length commit SHA. All 16
uses:entries referenced floating tags, so both workflows were being rejected.actions/checkout v3 -> v7.0.1 (3d3c42e)
actions/setup-java v3 -> v5.6.0 (03ad4de)
actions/cache v3 -> v6.1.0 (55cc834)
actions/upload-artifact v4 -> v7.0.1 (043fb46)
codecov/codecov-action v3 -> v7.0.0 (fb8b358)
fileinput tofiles;filewas removed in v4.permissions: contents: readto both workflows so jobs stoprunning with the default write-capable token.
persist-credentials: falseto checkout so the token is not leftbehind in .git/config. Nothing in either workflow pushes.
the new pins get bumped instead of silently rotting.
Job graphs, step order and Maven commands are unchanged.