Re: [PATCH] ci: bump remaining outdated Actions versions
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 11, 2024, 17:17 UTC
- Message-ID
- <xmqqplx29aze.fsf@gitster.g>
- In-Reply-To
- <pull.1660.git.1707652357696.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 13 quoted lines
> From: Johannes Schindelin <Johannes.Schindelin@gmx.de> > > This avoids "Node.js 16 Actions" deprecation messages by bumping the > following Actions' versions: > > - actions/upload-artifact from 3 to 4 > - actions/download-artifact from 3 to 4 > - actions/cache from 3 to 4 > > Helped-by: Matthias Aßhauer <mha1993@live.de> > Original-commits-by: dependabot[bot] <support@github.com> > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > ---
Show 7 quoted lines
> - name: Upload failed tests' directories
> if: failure() && env.FAILED_TEST_ARTIFACTS != '' && matrix.vector.jobname == 'linux32'
> - uses: actions/upload-artifact@v1
> + uses: actions/upload-artifact@v4
> with:
> name: failed-tests-${{matrix.vector.jobname}}
> path: ${{env.FAILED_TEST_ARTIFACTS}}Curious that, among all other uses of actions/upload-artifact@v3, only this one has been using @v1, which may deserve explanation. The proposed commit log message pretends that this never existed.
Please drop a non-standard "Original-commits-by:" trailer, and instead mention what you wrote under three-dash line about the dependabot in the log message. Perhaps something like...
After activating automatic Dependabot updates in the git-for-windows/git repository, Dependabot noticed a couple of yet-unaddressed updates. They avoid "Node.js 16 Actions" deprecation messages by bumping the following Actions' versions:
- actions/upload-artifact from 1 or 3 to 4
- actions/download-artifact from 3 to 4
- actions/cache from 3 to 4Note that one actions/upload-artifact@v1 was used in one of the rules because ...
Helped-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>Thanks.