From 9acefc04de3ba60672077a4a43244597cf47dbc1 Mon Sep 17 00:00:00 2001 From: ronaldsg Date: Thu, 24 Oct 2024 11:17:22 -0500 Subject: [PATCH] Update actions version on workflow --- .github/workflows/build.yml | 2 +- .github/workflows/deploy_MainNet_UI.yml | 4 ++-- .github/workflows/deploy_TestNet_UI.yml | 4 ++-- .github/workflows/deploy_staging_MainNet_UI.yml | 4 ++-- .github/workflows/deploy_staging_TestNet_UI.yml | 4 ++-- .github/workflows/scorecard.yml | 3 ++- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 445611f0..e2c7bfd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@163217dfcd28294438ea1c1c149cfaf66eec283e # v4.2.1 with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 diff --git a/.github/workflows/deploy_MainNet_UI.yml b/.github/workflows/deploy_MainNet_UI.yml index 318eeefc..25e78801 100644 --- a/.github/workflows/deploy_MainNet_UI.yml +++ b/.github/workflows/deploy_MainNet_UI.yml @@ -22,12 +22,12 @@ jobs: run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@163217dfcd28294438ea1c1c149cfaf66eec283e # v4.2.1 with: ref: ${{ steps.get_tag_name.outputs.VERSION }} - name: Setup NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 #v4.0.4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/.github/workflows/deploy_TestNet_UI.yml b/.github/workflows/deploy_TestNet_UI.yml index d56c7ab7..8305672b 100644 --- a/.github/workflows/deploy_TestNet_UI.yml +++ b/.github/workflows/deploy_TestNet_UI.yml @@ -22,12 +22,12 @@ jobs: run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@163217dfcd28294438ea1c1c149cfaf66eec283e # v4.2.1 with: ref: ${{ steps.get_tag_name.outputs.VERSION }} - name: Setup NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 #v4.0.4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/.github/workflows/deploy_staging_MainNet_UI.yml b/.github/workflows/deploy_staging_MainNet_UI.yml index df65b0c1..c227e72d 100644 --- a/.github/workflows/deploy_staging_MainNet_UI.yml +++ b/.github/workflows/deploy_staging_MainNet_UI.yml @@ -22,12 +22,12 @@ jobs: run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@163217dfcd28294438ea1c1c149cfaf66eec283e # v4.2.1 with: ref: release-candidate - name: Setup NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 #v4.0.4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/.github/workflows/deploy_staging_TestNet_UI.yml b/.github/workflows/deploy_staging_TestNet_UI.yml index 2659a6a0..260dc156 100644 --- a/.github/workflows/deploy_staging_TestNet_UI.yml +++ b/.github/workflows/deploy_staging_TestNet_UI.yml @@ -22,12 +22,12 @@ jobs: run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@163217dfcd28294438ea1c1c149cfaf66eec283e # v4.2.1 with: ref: qa - name: Setup NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 #v4.0.4 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index b7234ef8..d50e20de 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -42,5 +42,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 with: + uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 + with: sarif_file: results.sarif \ No newline at end of file