From 22edff6b646fed768ed40bc30af4fc9c18f66bbc Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Mon, 4 Nov 2024 16:00:49 -0300 Subject: [PATCH] chore: update actions/checkout from version 3/2 to v4 across multiple workflows for improved functionality and compatibility --- .github/actions/comment-test-coverage/README.md | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/cypress-basic.yml | 2 +- .github/workflows/cypress-odfe.yml | 2 +- .github/workflows/cypress-wzd.yml | 2 +- .github/workflows/cypress-xpack.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/dev-environment.yml | 2 +- .github/workflows/eslint.yml | 2 +- .github/workflows/manual-build.yml | 2 +- .github/workflows/prettier.yml | 2 +- .github/workflows/wazuh-build-push-docker-action.yml | 6 +++--- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/actions/comment-test-coverage/README.md b/.github/actions/comment-test-coverage/README.md index e86b5f2238..b20a220ab1 100644 --- a/.github/actions/comment-test-coverage/README.md +++ b/.github/actions/comment-test-coverage/README.md @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Run Jasmine tests run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0b144db595..f6e5d5feaa 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/cypress-basic.yml b/.github/workflows/cypress-basic.yml index e0465d7e2c..0ec3a0589c 100644 --- a/.github/workflows/cypress-basic.yml +++ b/.github/workflows/cypress-basic.yml @@ -42,7 +42,7 @@ jobs: url-package: ${{ github.event.inputs.url-package }}" - name: Step 02 - Download Project wazuh-app-environments - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: matiasmoreno876/wazuh-app-environments ref: 'master' diff --git a/.github/workflows/cypress-odfe.yml b/.github/workflows/cypress-odfe.yml index e95263a91a..026b9d4f55 100644 --- a/.github/workflows/cypress-odfe.yml +++ b/.github/workflows/cypress-odfe.yml @@ -47,7 +47,7 @@ jobs: url-package: ${{ github.event.inputs.url-package }}" - name: Step 02 - Download Project wazuh-app-environments - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: matiasmoreno876/wazuh-app-environments ref: 'master' diff --git a/.github/workflows/cypress-wzd.yml b/.github/workflows/cypress-wzd.yml index 8e0b051142..63a5357787 100644 --- a/.github/workflows/cypress-wzd.yml +++ b/.github/workflows/cypress-wzd.yml @@ -37,7 +37,7 @@ jobs: url-package: ${{ github.event.inputs.url-package }}" - name: Step 02 - Download Project wazuh-app-environments - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: matiasmoreno876/wazuh-app-environments ref: 'master' diff --git a/.github/workflows/cypress-xpack.yml b/.github/workflows/cypress-xpack.yml index a16f888eff..95ba90fc3c 100644 --- a/.github/workflows/cypress-xpack.yml +++ b/.github/workflows/cypress-xpack.yml @@ -42,7 +42,7 @@ jobs: url-package: ${{ github.event.inputs.url-package }}" - name: Step 02 - Download Project wazuh-app-environments - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: matiasmoreno876/wazuh-app-environments ref: 'master' diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index fe461b4243..5545cd23be 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -15,6 +15,6 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Dependency Review' uses: actions/dependency-review-action@v2 diff --git a/.github/workflows/dev-environment.yml b/.github/workflows/dev-environment.yml index 1fd2f9c080..a690b9c97a 100644 --- a/.github/workflows/dev-environment.yml +++ b/.github/workflows/dev-environment.yml @@ -68,7 +68,7 @@ jobs: steps: - name: Step 01 - Download the plugin's source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: wazuh/wazuh-dashboard-plugins ref: ${{ inputs.reference }} diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 38954d9028..048e25207f 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -19,7 +19,7 @@ jobs: steps: # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#node-version-file - name: Install NodeJS diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index 4452e637dd..60617c25ac 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Step 01 - Download the plugin's source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: wazuh/wazuh-dashboard-plugins ref: ${{ inputs.reference }} diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 23de4aa1e6..224bdebb8b 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -10,7 +10,7 @@ jobs: steps: # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#node-version-file - name: Install NodeJS diff --git a/.github/workflows/wazuh-build-push-docker-action.yml b/.github/workflows/wazuh-build-push-docker-action.yml index 74be8e29e1..e6cbcd66e2 100644 --- a/.github/workflows/wazuh-build-push-docker-action.yml +++ b/.github/workflows/wazuh-build-push-docker-action.yml @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Step 01 - Download wazuh-kibana-app - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: wazuh-kibana-app - name: Step 02 - Login to quay.io @@ -80,7 +80,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Step 01 - Download wazuh-kibana-app - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: wazuh-kibana-app - name: Step 02 - Login to quay.io @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Step 01 - Download wazuh-kibana-app - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: wazuh-kibana-app - name: Step 02 - Login to quay.io