Repository: typesafegithub/github-workflows-kt
Pull request #958 (2023-09-04 14:31:24)

chore(deps): update actions/checkout action to v4
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400)

[Compare Source](https://togithub.com/actions/checkout/compare/v3...v4)

-   [Support fetching without the --progress option](https://togithub.com/actions/checkout/pull/1067)
-   [Update to node20](https://togithub.com/actions/checkout/pull/1436)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/typesafegithub/github-workflows-kt).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->



Patch:
diff --git a/.github/workflows/actions-versions.yaml b/.github/workflows/actions-versions.yaml
index 1ff5f4a78..b5c2da1ae 100644
--- a/.github/workflows/actions-versions.yaml
+++ b/.github/workflows/actions-versions.yaml
@@ -15,7 +15,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/actions-versions.yaml'' && ''.github/workflows/actions-versions.main.kts'''
@@ -29,7 +29,7 @@ jobs:
     if: '${{ github.repository_owner == ''typesafegithub'' || github.event_name != ''schedule'' }}'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 7ed4c679f..0e28f1e2c 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -15,7 +15,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/build.yaml'' && ''.github/workflows/build.main.kts'''
@@ -28,7 +28,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
@@ -46,7 +46,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
@@ -65,7 +65,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       uses: 'actions/setup-python@v4'
       with:
@@ -81,7 +81,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       run: |-
         find -name *.main.kts -print0 | while read -d $'\0' file
@@ -96,7 +96,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up Java in proper version'
       uses: 'actions/setup-java@v3'
diff --git a/.github/workflows/check-if-wrappers-up-to-date.yaml b/.github/workflows/check-if-wrappers-up-to-date.yaml
index 6ecc09ab2..0c3f6a584 100644
--- a/.github/workflows/check-if-wrappers-up-to-date.yaml
+++ b/.github/workflows/check-if-wrappers-up-to-date.yaml
@@ -16,7 +16,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/check-if-wrappers-up-to-date.yaml'' && ''.github/workflows/check-if-wrappers-up-to-date.main.kts'''
@@ -29,7 +29,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
@@ -50,7 +50,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
diff --git a/.github/workflows/create-action-update-prs.yaml b/.github/workflows/create-action-update-prs.yaml
index fd47bfc05..3305bd210 100644
--- a/.github/workflows/create-action-update-prs.yaml
+++ b/.github/workflows/create-action-update-prs.yaml
@@ -15,7 +15,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/create-action-update-prs.yaml'' && ''.github/workflows/create-action-update-prs.main.kts'''
@@ -29,7 +29,7 @@ jobs:
     if: '${{ github.repository_owner == ''typesafegithub'' || github.event_name != ''schedule'' }}'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
diff --git a/.github/workflows/gradle-wrapper-validation.yaml b/.github/workflows/gradle-wrapper-validation.yaml
index 7dfc14ac1..8de9b1e08 100644
--- a/.github/workflows/gradle-wrapper-validation.yaml
+++ b/.github/workflows/gradle-wrapper-validation.yaml
@@ -19,7 +19,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/gradle-wrapper-validation.yaml'' && ''.github/workflows/gradle-wrapper-validation.main.kts'''
@@ -32,7 +32,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Validate wrapper'
       uses: 'gradle/wrapper-validation-action@v1'
diff --git a/.github/workflows/release-docs.yaml b/.github/workflows/release-docs.yaml
index 3720a4d4e..6a6656bc5 100644
--- a/.github/workflows/release-docs.yaml
+++ b/.github/workflows/release-docs.yaml
@@ -12,7 +12,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/release-docs.yaml'' && ''.github/workflows/release-docs.main.kts'''
@@ -25,7 +25,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index dba3645ec..7dff1b64b 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -19,7 +19,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Execute script'
       run: 'rm ''.github/workflows/release.yaml'' && ''.github/workflows/release.main.kts'''
@@ -32,7 +32,7 @@ jobs:
     - 'check_yaml_consistency'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Set up JDK'
       uses: 'actions/setup-java@v3'


Test patch:
diff --git a/.github/workflows/Integration tests - custom actions.yaml b/.github/workflows/Integration tests - custom actions.yaml
index 3cabc3dd6..df16026c8 100644
--- a/.github/workflows/Integration tests - custom actions.yaml
+++ b/.github/workflows/Integration tests - custom actions.yaml
@@ -12,7 +12,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
       with:
         repository: 'actions/checkout'
         ref: 'v3'
@@ -27,7 +27,7 @@ jobs:
       uses: 'docker://alpine:latest'
     - id: 'step-3'
       name: 'Check out again'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
       with:
         repository: 'actions/checkout'
         ref: 'v3'
diff --git a/.github/workflows/Integration tests - job condition.yaml b/.github/workflows/Integration tests - job condition.yaml
index 4e6c8a1be..cd563b63b 100644
--- a/.github/workflows/Integration tests - job condition.yaml
+++ b/.github/workflows/Integration tests - job condition.yaml
@@ -13,4 +13,4 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
diff --git a/.github/workflows/Integration tests - step with outputs.yaml b/.github/workflows/Integration tests - step with outputs.yaml
index b8550b1d5..cc3fc49f5 100644
--- a/.github/workflows/Integration tests - step with outputs.yaml
+++ b/.github/workflows/Integration tests - step with outputs.yaml
@@ -14,7 +14,7 @@ jobs:
       uses: 'actions/setup-python@v4'
     - id: 'step-1'
       name: 'Some step consuming other step''s output'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
       with:
         ssh-key: '${{ steps.step-0.outputs.python-version }}'
         path: '${{ steps.step-0.outputs.my-unsafe-output }}'
diff --git a/.github/workflows/Integration tests - trivial workflow.yaml b/.github/workflows/Integration tests - trivial workflow.yaml
index d951b0bd9..5bb182551 100644
--- a/.github/workflows/Integration tests - trivial workflow.yaml
+++ b/.github/workflows/Integration tests - trivial workflow.yaml
@@ -12,7 +12,7 @@ jobs:
     steps:
     - id: 'step-0'
       name: 'Check out'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Hello world!'
       run: 'echo ''hello!'''
diff --git a/.github/workflows/Integration tests - type-safe expressions.yaml b/.github/workflows/Integration tests - type-safe expressions.yaml
index 2d5ac360c..ab21b300d 100644
--- a/.github/workflows/Integration tests - type-safe expressions.yaml
+++ b/.github/workflows/Integration tests - type-safe expressions.yaml
@@ -17,7 +17,7 @@ jobs:
       $GREETING: 'World'
     steps:
     - id: 'step-0'
-      uses: 'actions/checkout@v3'
+      uses: 'actions/checkout@v4'
     - id: 'step-1'
       name: 'Default environment variable'
       run: 'action=$GITHUB_ACTION repo=$GITHUB_REPOSITORY'