Skip to content

Commit

Permalink
ci: update actions/checkout to latest version
Browse files Browse the repository at this point in the history
This avoids part of the deprecation notes aout `Node.js 16 actions`.

It is curious why Dependabot missed `actions/checkout`... in
git-for-windows/git#4796 it was successful for
git-for-windows/git, but an equivalent is nowhere to be seen in
https://github.com/git-for-windows/git-for-windows-automation/pulls?q=is%3Apr+author%3Aapp%2Fdependabot+checkout.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Feb 10, 2024
1 parent 5cd575b commit 5f24ed7
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/actions/gitforwindows.org/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: release
- name: Mirror Check Run to ${{ inputs.owner }}/${{ inputs.repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/github-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: release
- name: Mirror Check Run to ${{ inputs.owner }}/${{ inputs.repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/mail-announcement/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: release
- name: Mirror Check Run to ${{ inputs.owner }}/${{ inputs.repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/nuget-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: release
- name: Mirror Check Run to ${{ inputs.owner }}/${{ inputs.repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/pacman-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: release
- name: Mirror Check Run to ${{ inputs.owner }}/${{ inputs.repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/repository-updates/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: release
- name: Mirror Check Run to ${{ inputs.owner }}/${{ inputs.repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
build:
runs-on: ${{ github.event.inputs.architecture == 'aarch64' && fromJSON('["Windows", "ARM64"]') || 'windows-latest' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Since we want to operate on _another_ repository, we sadly cannot use:
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-azure-self-hosted-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
VM_NAME="actions-runner-$(date +%Y%m%d%H%M%S%N)"
echo "Will be using $VM_NAME as the VM name"
echo "vm_name=$VM_NAME" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Obtain installation token
id: setup
uses: actions/github-script@v7
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/git-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
check-run-state: ${{steps.check-run-state.outputs.check-run-state}}
steps:
- name: clone git-for-windows-automation
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Construct bundle-artifacts from existing tag
if: env.EXISTING_GIT_TAG != ''
run: |
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
steps:
- name: clone git-for-windows-automation
if: needs.pkg.outputs.check-run-state != '' && always()
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download pkg-${{env.ARCHITECTURE}}
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -497,7 +497,7 @@ jobs:
path: sha256sums
- name: clone git-for-windows-automation
if: needs.pkg.outputs.check-run-state != '' && always()
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: restore check-run state
if: needs.pkg.outputs.check-run-state != '' && always()
id: check-run-state
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
esac &&
echo "REPO=$repo" >>$GITHUB_ENV &&
echo "repo=$repo" >>$GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Since we want to operate on _another_ repository, we sadly cannot use:
#
# permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
announcement: ${{ steps.bundle-artifacts.outputs.announcement }}
release-notes: ${{ steps.bundle-artifacts.outputs.release-notes }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: The `release` branch must be up to date
uses: actions/github-script@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
outputs:
tag-name: ${{ steps.generate.outputs.tag-name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Mirror Check Run to ${{ env.OWNER }}/${{ env.REPO }}
if: env.CREATE_CHECK_RUN != 'false'
uses: ./.github/actions/check-run-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updpksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
updpkgsums:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Since we want to operate on _another_ repository, we sadly cannot use:
#
# permissions:
Expand Down

0 comments on commit 5f24ed7

Please sign in to comment.