From d11ceb82ef6e1290e63a458e4925249af3398100 Mon Sep 17 00:00:00 2001 From: HendrikThePendric Date: Thu, 24 Oct 2024 17:25:56 +0200 Subject: [PATCH] chore: upgrade all used gha versions --- .github/workflows/dhis2-preview-pr.yml | 6 +++--- .github/workflows/nightly.yml | 2 +- .github/workflows/publish-d2-ci.yml | 6 +++--- .github/workflows/release.yml | 10 +++++----- .github/workflows/verify-pr.yml | 16 ++++++++-------- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/dhis2-preview-pr.yml b/.github/workflows/dhis2-preview-pr.yml index 1eff4482a..63ee82206 100644 --- a/.github/workflows/dhis2-preview-pr.yml +++ b/.github/workflows/dhis2-preview-pr.yml @@ -20,8 +20,8 @@ jobs: runs-on: ubuntu-latest if: "!github.event.push.repository.fork && github.actor != 'dependabot[bot]'" steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -33,7 +33,7 @@ jobs: - name: Deploy id: netlify-deploy - uses: nwtgck/actions-netlify@v1.2.2 + uses: nwtgck/actions-netlify@v3 timeout-minutes: 1 with: github-token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8b14520f4..8fdf184c9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Send failure message to analytics-internal-kfmt slack channel id: slack - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.27.0 with: channel-id: ${{ secrets.SLACK_CHANNEL_ID }} slack-message: ':maps-app: Maps-app e2e nightly run ' diff --git a/.github/workflows/publish-d2-ci.yml b/.github/workflows/publish-d2-ci.yml index 8302f87c6..c8d34074d 100644 --- a/.github/workflows/publish-d2-ci.yml +++ b/.github/workflows/publish-d2-ci.yml @@ -31,9 +31,9 @@ jobs: - name: Print GitHub ref run: echo "GITHUB_REF is $GITHUB_REF" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -56,7 +56,7 @@ jobs: steps: - name: Send failure message to analytics-internal-bot slack channel id: slack_publish_failure - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.27.0 with: channel-id: ${{ secrets.SLACK_CHANNEL_ID }} payload: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9d5ce9d7..7615b86fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,11 +24,11 @@ jobs: !contains(github.event.head_commit.message, '[skip release]') && !startsWith(github.event.head_commit.message, 'chore') }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -62,12 +62,12 @@ jobs: - name: Extract version if: success() id: extract_version - uses: Saionaro/extract-package-version@v1.2.1 + uses: Saionaro/extract-package-version@v1.3.0 - name: Send success message to analytics-internal-bot slack channel if: success() id: slack_success - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.27.0 with: channel-id: ${{ secrets.SLACK_CHANNEL_ID }} payload: | @@ -117,7 +117,7 @@ jobs: - name: Send failure message to analytics-internal-bot slack channel if: ${{ failure() && !cancelled() }} id: slack_failure - uses: slackapi/slack-github-action@v1.23.0 + uses: slackapi/slack-github-action@v1.27.0 with: channel-id: ${{ secrets.SLACK_CHANNEL_ID }} payload: | diff --git a/.github/workflows/verify-pr.yml b/.github/workflows/verify-pr.yml index 21122d5b5..9c11eb4bb 100644 --- a/.github/workflows/verify-pr.yml +++ b/.github/workflows/verify-pr.yml @@ -18,7 +18,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.specs }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Generate Test matrix id: set-matrix run: echo "::set-output name=specs::$(node cypress/support/generateTestMatrix.js)" @@ -26,8 +26,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -37,7 +37,7 @@ jobs: - name: Build run: yarn d2-app-scripts build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: app-build path: | @@ -48,8 +48,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -65,8 +65,8 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x