From 25713f5c2cef8e09fd26399b8d07a86cc3bfbade Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 24 Mar 2024 11:53:03 +0000 Subject: [PATCH] chore(deps): update github actions --- .github/actions/build/action.yaml | 4 ++-- .github/actions/prepare-image/action.yaml | 2 +- .github/actions/validate-user/action.yaml | 2 +- .github/workflows/deploy-app.yaml | 6 +++--- .github/workflows/lgtm-pr.yaml | 2 +- .github/workflows/new-pr-created.yaml | 4 ++-- .github/workflows/pr.yaml | 4 ++-- .github/workflows/restart-app.yaml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 3d16c1e..70dcd38 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -4,11 +4,11 @@ runs: using: "composite" steps: - name: Use Node.js 16.14 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 16.14 - name: Cache Node.js modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/actions/prepare-image/action.yaml b/.github/actions/prepare-image/action.yaml index eb16c21..b4fb2aa 100644 --- a/.github/actions/prepare-image/action.yaml +++ b/.github/actions/prepare-image/action.yaml @@ -3,7 +3,7 @@ description: Builds image and pushes it to dockerhub runs: using: "composite" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: docker login env: DOCKER_USERNAME: ${{ inputs.DOCKER_USERNAME }} diff --git a/.github/actions/validate-user/action.yaml b/.github/actions/validate-user/action.yaml index 2ca3f14..118afd3 100644 --- a/.github/actions/validate-user/action.yaml +++ b/.github/actions/validate-user/action.yaml @@ -12,7 +12,7 @@ runs: env: GITHUB_TOKEN: ${{ inputs.token }} - name: Inform user when he is not allowed - uses: actions/github-script@v6 + uses: actions/github-script@v7 if: ${{ !steps.access.outcome == 'failure' }} with: github-token: ${{inputs.GITHUB_TOKEN}} diff --git a/.github/workflows/deploy-app.yaml b/.github/workflows/deploy-app.yaml index f1b493d..0fcea6a 100644 --- a/.github/workflows/deploy-app.yaml +++ b/.github/workflows/deploy-app.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies uses: ./.github/actions/build - name: Test @@ -25,7 +25,7 @@ jobs: needs: pre-run steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare image uses: ./.github/actions/prepare-image with: @@ -38,7 +38,7 @@ jobs: needs: setup-image steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy app uses: ./.github/actions/deploy-app with: diff --git a/.github/workflows/lgtm-pr.yaml b/.github/workflows/lgtm-pr.yaml index af7c1c5..ea48c44 100644 --- a/.github/workflows/lgtm-pr.yaml +++ b/.github/workflows/lgtm-pr.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Verifies permissions uses: ./.github/actions/validate-user with: diff --git a/.github/workflows/new-pr-created.yaml b/.github/workflows/new-pr-created.yaml index c58fd09..f96279f 100644 --- a/.github/workflows/new-pr-created.yaml +++ b/.github/workflows/new-pr-created.yaml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Comment to PR and add labels" - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index f3a4c01..23daadf 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies uses: ./.github/actions/build - name: Test @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies uses: ./.github/actions/build - name: Lint project diff --git a/.github/workflows/restart-app.yaml b/.github/workflows/restart-app.yaml index 8a4f477..7e1eda3 100644 --- a/.github/workflows/restart-app.yaml +++ b/.github/workflows/restart-app.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy app uses: ./.github/actions/restart-app with: