Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 3 to 4 #26

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps actions/checkout from 3 to 4.

Release notes

Sourced from actions/checkout's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v3...v4.0.0

v3.6.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v3.5.3...v3.6.0

v3.5.3

What's Changed

New Contributors

Full Changelog: actions/checkout@v3...v3.5.3

v3.5.2

What's Changed

Full Changelog: actions/checkout@v3.5.1...v3.5.2

v3.5.1

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 11, 2023
@dependabot dependabot bot requested a review from saidsef September 11, 2023 05:24
@saidsef
Copy link
Owner

saidsef commented Sep 11, 2023

🤖
The PR is about updating the version of actions/checkout from v3 to v4 in the .github/workflows/ci.yaml and .github/workflows/tfsec.yaml files.

The actions/checkout action is used to check out the repository under GitHub Actions runner, which is a common step in most workflows. The update from v3 to v4 includes changes like updating the default runtime to node20 and supporting fetching without the --progress option.

There are no apparent issues with the changes in the PR. The changes are straightforward version updates in the workflow files.

However, it's important to note that any workflows or actions that depend on actions/checkout might behave differently due to the changes in the new version. Therefore, it's recommended to thoroughly test the workflows after merging this PR.

Here is the suggestion for the changes:

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 524c1ff..19823a3 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -13,7 +13,7 @@ jobs:
   pre-commit:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - uses: actions/setup-python@v4
     - uses: terraform-linters/setup-tflint@v3
     - uses: pre-commit/[email protected]
@@ -32,7 +32,7 @@ jobs:
         tf-version: ["1.0.11", "1.1.9", "1.2.9", "1.3.6", "latest"]
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - name: Setup Terraform
       uses: hashicorp/setup-terraform@v2
       with:
@@ -70,7 +70,7 @@ jobs:
     needs: [validate]
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - name: tfsec
       id: tfsec
       uses: aquasecurity/[email protected]
diff --git a/.github/workflows/tfsec.yaml b/.github/workflows/tfsec.yaml
index 1287dc1..0daee27 100644
--- a/.github/workflows/tfsec.yaml
+++ b/.github/workflows/tfsec.yaml
@@ -18,7 +18,7 @@ jobs:
       security-events: write
     steps:
     - name: Clone repo
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - name: Run tfsec
       uses: aquasecurity/tfsec-sarif-action@master
       with:
@@ -33,7 +33,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Clone repo
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - name: Setup Terraform
       uses: hashicorp/setup-terraform@v2
     - name: example Remote Validate

In summary, the PR is about updating the version of actions/checkout from v3 to v4 in the workflow files. The changes are straightforward and there are no apparent issues. However, it's recommended to thoroughly test the workflows after merging this PR due to the changes in the new version.

> gpt-4

@saidsef
Copy link
Owner

saidsef commented Oct 13, 2023

@dependabot recreate

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-github_actions-actions-checkout-4 branch from 0a81f42 to 2c0874f Compare October 13, 2023 14:52
@saidsef saidsef added the security security label Oct 20, 2023
@saidsef saidsef self-assigned this Oct 20, 2023
@saidsef saidsef merged commit 38c3d42 into main Oct 20, 2023
13 of 14 checks passed
@saidsef saidsef deleted the dependabot-github_actions-actions-checkout-4 branch October 20, 2023 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code security security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant