From 3099249ee6ec2af21eac5f584b4a24082aa86acf Mon Sep 17 00:00:00 2001 From: Lubo Date: Thu, 28 May 2026 15:28:20 +0200 Subject: [PATCH] chore: update actions versions to latest --- .github/workflows/autoassign_project.yml | 4 ++-- .github/workflows/deploy_docs.yml | 8 ++++---- .github/workflows/preview.yml | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/autoassign_project.yml b/.github/workflows/autoassign_project.yml index 7219092..b169df9 100644 --- a/.github/workflows/autoassign_project.yml +++ b/.github/workflows/autoassign_project.yml @@ -8,9 +8,9 @@ on: jobs: add-to-project: name: Add issue to project - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - - uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 + - uses: actions/add-to-project@v2 # v2.0.2 with: project-url: https://github.com/orgs/ESA-eodashboards/projects/1 github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 45c03ed..bd0b782 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -6,7 +6,7 @@ on: - main jobs: deploy-preview: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: EODASH_SENTINELHUB_CLIENT_ID: ${{ secrets.EODASH_SENTINELHUB_CLIENT_ID }} EODASH_SENTINELHUB_CLIENT_SECRET: ${{ secrets.EODASH_SENTINELHUB_CLIENT_SECRET }} @@ -18,10 +18,10 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: 20 - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + node-version: 24 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - run: | npm install npm run build diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f3e0473..5df0bb5 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -22,19 +22,19 @@ jobs: EODASH_SENTINELHUB_CLIENT_ID: ${{ secrets.EODASH_SENTINELHUB_CLIENT_ID }} EODASH_SENTINELHUB_CLIENT_SECRET: ${{ secrets.EODASH_SENTINELHUB_CLIENT_SECRET }} EODASH_OPENCAGE: ${{ secrets.EODASH_OPENCAGE }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: write pages: write pull-requests: write steps: - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version: 20 + node-version: 24 # This checks out "main" first for Check for changes step - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Check for changes to prevent modification of build scripts - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3 + uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4 id: filter with: # Define what is "unsafe" to change @@ -43,7 +43,7 @@ jobs: - 'package.json' - 'package-lock.json' - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: submodules: 'true' ref: ${{ github.event.pull_request.head.ref }}