diff --git a/.github/workflows/_nodejs.condo.core.tests.yml b/.github/workflows/_nodejs.condo.core.tests.yml index cd61961af76..51af430344f 100644 --- a/.github/workflows/_nodejs.condo.core.tests.yml +++ b/.github/workflows/_nodejs.condo.core.tests.yml @@ -60,7 +60,7 @@ jobs: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs diff --git a/.github/workflows/arc-builds.yml b/.github/workflows/arc-builds.yml index daa5568039b..fc51c5228ce 100644 --- a/.github/workflows/arc-builds.yml +++ b/.github/workflows/arc-builds.yml @@ -26,7 +26,7 @@ jobs: run: git --version - name: Checkout code with submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/arc-condo-tests.yml b/.github/workflows/arc-condo-tests.yml index bf8880a4626..c8795d505db 100644 --- a/.github/workflows/arc-condo-tests.yml +++ b/.github/workflows/arc-condo-tests.yml @@ -24,7 +24,7 @@ jobs: run: git --version - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -98,7 +98,7 @@ jobs: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs @@ -123,7 +123,7 @@ jobs: run: git --version - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -197,7 +197,7 @@ jobs: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs @@ -222,7 +222,7 @@ jobs: run: git --version - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -296,7 +296,7 @@ jobs: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs @@ -321,7 +321,7 @@ jobs: run: git --version - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -398,7 +398,7 @@ jobs: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs diff --git a/.github/workflows/deploy_cleanup.yml b/.github/workflows/deploy_cleanup.yml index 9b419339cc6..b43d571e3bf 100644 --- a/.github/workflows/deploy_cleanup.yml +++ b/.github/workflows/deploy_cleanup.yml @@ -17,7 +17,7 @@ jobs: WERF_PARALLEL: 0 steps: - name: Login to Sbercloud Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: swr.ru-moscow-1.hc.sbercloud.ru username: ${{ secrets.SBERCLOUD_CR_USERNAME }} @@ -28,11 +28,11 @@ jobs: key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }} name: id_rsa known_hosts: ${{ secrets.SSH_DOCK_SERVER_KNOWN_HOSTS }} - if_key_exists: replace + if_key_exists: replace - name: Set env for branch name run: echo "BRANCH_NAME=$(echo ${GITHUB_REF##*/} | sed 's/\_/-/g')" >> $GITHUB_ENV - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/deploy_development.yaml b/.github/workflows/deploy_development.yaml index c1b2608d717..5ad3a8b62f1 100644 --- a/.github/workflows/deploy_development.yaml +++ b/.github/workflows/deploy_development.yaml @@ -20,7 +20,7 @@ jobs: PULL_PERSONAL_ACCESS_KEY: ${{ secrets.PULL_PERSONAL_ACCESS_KEY }} steps: - name: Login to Sbercloud Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: swr.ru-moscow-1.hc.sbercloud.ru username: ${{ secrets.SBERCLOUD_CR_USERNAME }} diff --git a/.github/workflows/deploy_production.yaml b/.github/workflows/deploy_production.yaml index 7780b58d916..35530fff909 100644 --- a/.github/workflows/deploy_production.yaml +++ b/.github/workflows/deploy_production.yaml @@ -28,7 +28,7 @@ jobs: exit 1 fi - name: Login to Sbercloud Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: swr.ru-moscow-1.hc.sbercloud.ru username: ${{ secrets.SBERCLOUD_CR_USERNAME }} diff --git a/.github/workflows/deploy_review.yaml b/.github/workflows/deploy_review.yaml index e3db3099e36..2ead5716794 100644 --- a/.github/workflows/deploy_review.yaml +++ b/.github/workflows/deploy_review.yaml @@ -14,7 +14,7 @@ jobs: PULL_PERSONAL_ACCESS_KEY: ${{ secrets.PULL_PERSONAL_ACCESS_KEY }} steps: - name: Login to Sbercloud Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: swr.ru-moscow-1.hc.sbercloud.ru username: ${{ secrets.SBERCLOUD_CR_USERNAME }} diff --git a/.github/workflows/gitexporter.yml b/.github/workflows/gitexporter.yml index b790ad28d86..801d86b9e2f 100644 --- a/.github/workflows/gitexporter.yml +++ b/.github/workflows/gitexporter.yml @@ -12,11 +12,11 @@ jobs: runs-on: self-hosted steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }} - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: 'open-condo-software/condo' fetch-depth: 0 @@ -25,7 +25,7 @@ jobs: path: ignore.gitexporter.source ref: 'master' - name: Checkout target code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: 'open-condo-software/open-condo-platform' fetch-depth: 0 diff --git a/.github/workflows/nodejs.address-service.test.yml b/.github/workflows/nodejs.address-service.test.yml index 2afdbd3e46f..67ed154ca4d 100644 --- a/.github/workflows/nodejs.address-service.test.yml +++ b/.github/workflows/nodejs.address-service.test.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -111,7 +111,7 @@ jobs: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs diff --git a/.github/workflows/nodejs.condo.ci.yml b/.github/workflows/nodejs.condo.ci.yml index 71807ff2d17..df8e6fc16e4 100644 --- a/.github/workflows/nodejs.condo.ci.yml +++ b/.github/workflows/nodejs.condo.ci.yml @@ -29,7 +29,7 @@ jobs: echo "DOCKER_CACHE_FROM=type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/condo/condo-image:$( echo "${{github.ref_name}}" | sed 's/[^a-zA-Z0-9]/-/g' ) >> $GITHUB_ENV" echo "DOCKER_CACHE_TO=type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/condo/condo-image:$( echo "${{github.ref_name}}" | sed 's/[^a-zA-Z0-9]/-/g' ),mode=min,image-manifest=true" >> $GITHUB_ENV - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -75,7 +75,7 @@ jobs: with: dest: './docker-logs' - name: Upload log artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: logs @@ -92,13 +92,13 @@ jobs: dev-api: ${{ steps.detect-changes.outputs.dev-api }} steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive ssh-key: ${{ secrets.SSH_DOCK_SERVER_PRIVATE_KEY }} - name: Scan changed files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v3 id: detect-changes with: filters: | @@ -113,7 +113,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -148,7 +148,7 @@ jobs: if: (github.actor != 'dependabot[bot]') steps: # Fetch project source with GitHub Actions Checkout. - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: ./bin/run-semgrep.sh -a run-dev-api-tests: diff --git a/.github/workflows/nodejs.condo.cypress.yml b/.github/workflows/nodejs.condo.cypress.yml index d2b98d617d7..82247065e14 100644 --- a/.github/workflows/nodejs.condo.cypress.yml +++ b/.github/workflows/nodejs.condo.cypress.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -93,7 +93,7 @@ jobs: DISABLE_LOGGING: true - name: Upload screenshots artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: screenshots diff --git a/.github/workflows/nodejs.condo.deploy.branch.yml b/.github/workflows/nodejs.condo.deploy.branch.yml index cffae3af0e5..5ac8378396d 100644 --- a/.github/workflows/nodejs.condo.deploy.branch.yml +++ b/.github/workflows/nodejs.condo.deploy.branch.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: diff --git a/.github/workflows/nodejs.condo.k6.yml b/.github/workflows/nodejs.condo.k6.yml index bedb754f258..9df3c56778f 100644 --- a/.github/workflows/nodejs.condo.k6.yml +++ b/.github/workflows/nodejs.condo.k6.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -68,7 +68,7 @@ jobs: k6 -o experimental-prometheus-rw run --summary-trend-stats="avg,min,med,max,p(90),p(95),p(99)" apps/condo/k6/dist/news.test.js - name: Upload screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: screenshots diff --git a/.github/workflows/nodejs.condo.test.yml b/.github/workflows/nodejs.condo.test.yml index 026a65c3a7d..cdab9c2a634 100644 --- a/.github/workflows/nodejs.condo.test.yml +++ b/.github/workflows/nodejs.condo.test.yml @@ -25,7 +25,7 @@ jobs: sudo apt update && sudo apt install -y git - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/packages.bridge.build.yml b/.github/workflows/packages.bridge.build.yml index e40409b9965..eb15da7de57 100644 --- a/.github/workflows/packages.bridge.build.yml +++ b/.github/workflows/packages.bridge.build.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -23,4 +23,4 @@ jobs: yarn install --immutable - name: Build lib - run: yarn workspace @open-condo/bridge build \ No newline at end of file + run: yarn workspace @open-condo/bridge build diff --git a/.github/workflows/packages.icons.build.yml b/.github/workflows/packages.icons.build.yml index 704c1d63ba3..a307b90af68 100644 --- a/.github/workflows/packages.icons.build.yml +++ b/.github/workflows/packages.icons.build.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -27,4 +27,4 @@ jobs: yarn install --immutable - name: Build lib - run: yarn workspace @open-condo/icons build \ No newline at end of file + run: yarn workspace @open-condo/icons build diff --git a/.github/workflows/packages.release.yml b/.github/workflows/packages.release.yml index 7ce83045899..04792f777ef 100644 --- a/.github/workflows/packages.release.yml +++ b/.github/workflows/packages.release.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -39,4 +39,4 @@ jobs: run: node bin/publish-packages.js env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/packages.ui.build.yml b/.github/workflows/packages.ui.build.yml index 91ab1e9dadc..4a00eafcc8a 100644 --- a/.github/workflows/packages.ui.build.yml +++ b/.github/workflows/packages.ui.build.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -46,4 +46,4 @@ jobs: run: yarn workspace @open-condo/ui build:colors - name: Build lib - run: yarn workspace @open-condo/ui build:lib \ No newline at end of file + run: yarn workspace @open-condo/ui build:lib diff --git a/.github/workflows/packages.ui.merge.tokens.yml b/.github/workflows/packages.ui.merge.tokens.yml index ce80eff82cd..1a5cb4d4614 100644 --- a/.github/workflows/packages.ui.merge.tokens.yml +++ b/.github/workflows/packages.ui.merge.tokens.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -39,4 +39,4 @@ jobs: if: ${{ steps.cpr.outputs.pull-request-number }} run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" - echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" \ No newline at end of file + echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" diff --git a/.github/workflows/packages.ui.rebase.tokens.yaml b/.github/workflows/packages.ui.rebase.tokens.yaml index caa4422d48c..f87b5998efd 100644 --- a/.github/workflows/packages.ui.rebase.tokens.yaml +++ b/.github/workflows/packages.ui.rebase.tokens.yaml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout without submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.DESIGN_BOT_PAT }} fetch-depth: 0 diff --git a/.github/workflows/packages.ui.review.yml b/.github/workflows/packages.ui.review.yml index 95a554ab6f7..6b2af7ffa9b 100644 --- a/.github/workflows/packages.ui.review.yml +++ b/.github/workflows/packages.ui.review.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -28,4 +28,4 @@ jobs: with: workingDir: packages/ui projectToken: ${{ secrets.UI_CHROMATIC_PROJECT_TOKEN }} - buildScriptName: "build:sb" \ No newline at end of file + buildScriptName: "build:sb" diff --git a/.github/workflows/packages.ui.sync-baseline.yml b/.github/workflows/packages.ui.sync-baseline.yml index 346e323df9e..035f2d7a5ef 100644 --- a/.github/workflows/packages.ui.sync-baseline.yml +++ b/.github/workflows/packages.ui.sync-baseline.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive diff --git a/.github/workflows/packages.webhooks.test.yaml b/.github/workflows/packages.webhooks.test.yaml index 45d9b61c890..d8d0d15d1a5 100644 --- a/.github/workflows/packages.webhooks.test.yaml +++ b/.github/workflows/packages.webhooks.test.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout code with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive @@ -32,4 +32,4 @@ jobs: yarn install --immutable - name: Test webhooks utils - run: yarn workspace @open-condo/webhooks jest \ No newline at end of file + run: yarn workspace @open-condo/webhooks jest diff --git a/.github/workflows/remove_review.yaml b/.github/workflows/remove_review.yaml index 38fae3a93d6..bd3195708df 100644 --- a/.github/workflows/remove_review.yaml +++ b/.github/workflows/remove_review.yaml @@ -36,7 +36,7 @@ jobs: PULL_PERSONAL_ACCESS_KEY: ${{ secrets.PULL_PERSONAL_ACCESS_KEY }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive