From 7e4598720345532b232191e771b3e599946578b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Thu, 8 Feb 2024 08:04:30 +0100 Subject: [PATCH] fix(ci/cd): Upgrade the Github Workflow actions --- .github/workflows/production.yml | 8 ++++---- .github/workflows/staging.yml | 6 +++--- .github/workflows/test.yml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 4f9f3c07..2b691d9a 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -17,7 +17,7 @@ jobs: name: Publish docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Log into registry run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} @@ -44,7 +44,7 @@ jobs: needs: publish-ghcr steps: - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy to Cluster id: kubectl-deploy @@ -61,7 +61,7 @@ jobs: needs: publish-ghcr steps: - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get version @@ -90,7 +90,7 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1 + - uses: dataesr/mm-notifier-action@v1.0.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }} diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index ac010e34..0ace822a 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -17,7 +17,7 @@ jobs: name: Publish docker image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Log into registry run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} @@ -42,7 +42,7 @@ jobs: needs: publish-ghcr steps: - name: Check Out Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy to Cluster id: kubectl-deploy @@ -58,7 +58,7 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1 + - uses: dataesr/mm-notifier-action@v1.0.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32a70dd3..1aefc499 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: npm ci --silent - name: Run tests @@ -24,7 +24,7 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1 + - uses: dataesr/mm-notifier-action@v1.0.2 with: github_token: ${{ secrets.GITHUB_TOKEN}} mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}