diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 23fac54df61..71a4f5c690c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,9 @@ updates: allow: # Allow updates for any packages starting with "@aws-amplify" - dependency-name: "@aws-amplify*" + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + # Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.) + directory: "/" + schedule: + interval: "monthly" diff --git a/.github/workflows/add_deleted_assets_label.yml b/.github/workflows/add_deleted_assets_label.yml index 634eb7e1bf3..30298646ea0 100644 --- a/.github/workflows/add_deleted_assets_label.yml +++ b/.github/workflows/add_deleted_assets_label.yml @@ -15,9 +15,9 @@ jobs: pull-requests: write # used to add label steps: - name: Checkout repository to get the workflow scripts - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Download artifact - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 env: WORKSPACE: ${{ github.workspace }} with: @@ -26,11 +26,11 @@ jobs: const fs = require('fs'); const artifactName = process.env.ARTIFACT_NAME; const workspace = process.env.WORKSPACE - getArtifact({github, context, fs, artifactName, workspace}); + await getArtifact({github, context, fs, artifactName, workspace}); - name: Unzip artifact run: unzip '${{ env.ARTIFACT_NAME }}.zip' - name: Add redirects-needed label to PR - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -38,4 +38,4 @@ jobs: const fs = require('fs'); const artifactName = process.env.ARTIFACT_NAME; const label = process.env.LABEL_TO_ADD; - addLabelForDeletedFiles({github, context, fs, core, artifactName, label}); + await addLabelForDeletedFiles({github, context, fs, core, artifactName, label}); diff --git a/.github/workflows/add_redirects_label.yml b/.github/workflows/add_redirects_label.yml index bcc5f7bc320..898634cdf48 100644 --- a/.github/workflows/add_redirects_label.yml +++ b/.github/workflows/add_redirects_label.yml @@ -15,9 +15,9 @@ jobs: pull-requests: write # used to add label steps: - name: Checkout repository to get the workflow scripts - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Download artifact - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 env: WORKSPACE: ${{ github.workspace }} with: @@ -26,11 +26,11 @@ jobs: const fs = require('fs'); const artifactName = process.env.ARTIFACT_NAME; const workspace = process.env.WORKSPACE - getArtifact({github, context, fs, artifactName, workspace}); + await getArtifact({github, context, fs, artifactName, workspace}); - name: Unzip artifact run: unzip '${{ env.ARTIFACT_NAME }}.zip' - name: Add redirects-needed label to PR - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -38,4 +38,4 @@ jobs: const fs = require('fs'); const artifactName = process.env.ARTIFACT_NAME; const label = process.env.LABEL_TO_ADD; - addLabelForDeletedFiles({github, context, fs, core, artifactName, label}); + await addLabelForDeletedFiles({github, context, fs, core, artifactName, label}); diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4dfe198276..eca805b26e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Node.js 20.x - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v.3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install Dependencies diff --git a/.github/workflows/check_bundle_size.yml b/.github/workflows/check_bundle_size.yml index daef54a7599..aa2cdd7d29d 100644 --- a/.github/workflows/check_bundle_size.yml +++ b/.github/workflows/check_bundle_size.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout main branch - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: ref: main - name: Setup Node.js 20 - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install dependencies @@ -26,7 +26,7 @@ jobs: NODE_OPTIONS: --max_old_space_size=4096 run: ANALYZE=true yarn next-build - name: Check base bundle size of select pages - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: base-bundle-sizes with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -34,11 +34,11 @@ jobs: const { checkBundleSize } = require('./.github/workflows/scripts/check_bundle_size.js'); return checkBundleSize(); - name: Checkout PR branch - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: ref: ${{ github.head_ref }} - name: Setup Node.js 20 - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v.3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install dependencies @@ -50,7 +50,7 @@ jobs: NODE_OPTIONS: --max_old_space_size=4096 run: ANALYZE=true yarn next-build - name: Check head bundle size of select pages - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: head-bundle-sizes with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -58,7 +58,7 @@ jobs: const { checkBundleSize } = require('./.github/workflows/scripts/check_bundle_size.js'); return checkBundleSize(); - name: Compare bundle page bundle sizes - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: compare-bundles with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check_for_broken_links.yml b/.github/workflows/check_for_broken_links.yml index f3cceb7fc94..162f3f9cf53 100644 --- a/.github/workflows/check_for_broken_links.yml +++ b/.github/workflows/check_for_broken_links.yml @@ -11,28 +11,28 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Node.js 20 - uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install Dependencies run: yarn - name: Run Link Checker id: checkLinks - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: result-encoding: string script: | const { checkProdLinks } = require('./tasks/link-checker.js'); return await checkProdLinks(); - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0 + uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: role-to-assume: arn:aws:iam::464149486631:role/github_action_read_slack_webhook_url aws-region: us-west-2 - name: Read secrets from AWS Secrets Manager into environment variables - uses: aws-actions/aws-secretsmanager-get-secrets@022e8919774ecb75e8e375656d7b1898936ab878 # v1.0.4 + uses: aws-actions/aws-secretsmanager-get-secrets@f91b2a3e784edce744f972af1685eca7e24d2302 # v2.0.2 with: secret-ids: | SLACK_WEBHOOK_URL @@ -40,7 +40,7 @@ jobs: - name: Send custom JSON data to Slack workflow if: steps.checkLinks.outputs.result id: slack - uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0 + uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 with: payload: | { diff --git a/.github/workflows/check_for_console_errors.yml b/.github/workflows/check_for_console_errors.yml index e3852ba97a0..d87d91f958d 100644 --- a/.github/workflows/check_for_console_errors.yml +++ b/.github/workflows/check_for_console_errors.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2 https://github.com/actions/checkout/commit/b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Node.js 20.x - uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 https://github.com/actions/setup-node/commit/e33196f7422957bea03ed53f6fbb155025ffc7b8 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install Dependencies @@ -27,7 +27,7 @@ jobs: sleep 5 - name: Run Console Errors id: consoleErrors - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: result-encoding: string script: | diff --git a/.github/workflows/check_for_deleted_assets.yml b/.github/workflows/check_for_deleted_assets.yml index 7d8d9d963cb..b7ddc58b913 100644 --- a/.github/workflows/check_for_deleted_assets.yml +++ b/.github/workflows/check_for_deleted_assets.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository to get the workflow scripts - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Get count of deleted files - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: set-deleted-files-count with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -23,7 +23,7 @@ jobs: const paths = PATHS_TO_CHECK.split(','); const { getDeletedFilesFromPR } = require('./.github/workflows/scripts/utilities.js'); - return getDeletedFilesFromPR({github, context, paths}); + return await getDeletedFilesFromPR({github, context, paths}); - name: Create artifact containing the PR number and deleted file count env: PR_NUMBER: ${{ github.event.pull_request.number }} @@ -32,7 +32,7 @@ jobs: echo ${{ env.PR_NUMBER }} >> $artifactName echo ${{ steps.set-deleted-files-count.outputs.result }} >> $artifactName - name: Upload the deleted assets file to artifacts - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 https://github.com/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: ${{ env.ARTIFACT_NAME }} path: '${{ env.ARTIFACT_NAME }}.txt' diff --git a/.github/workflows/check_for_new_files.yml b/.github/workflows/check_for_new_files.yml index 6168a5f1292..e021ba6c199 100644 --- a/.github/workflows/check_for_new_files.yml +++ b/.github/workflows/check_for_new_files.yml @@ -10,22 +10,22 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Get count of added files - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: set-added-files-count with: github-token: ${{ secrets.GITHUB_TOKEN }} result-encoding: string script: | const { getAddedFiles } = require('./.github/workflows/scripts/check_for_new_files.js'); - return getAddedFiles({github, context, core}); + return await getAddedFiles({github, context, core}); - name: Install npm package ignore if: ${{ steps.set-added-files-count.outputs.result > 0 }} run: yarn add ignore@5.2.4 -W # help verify CODEOWNERS - name: Check file against CODEOWNERS if: ${{ steps.set-added-files-count.outputs.result > 0 }} - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 env: CURRENT_BRANCH: ${{ github.head_ref }} CURRENT_REPO: ${{ github.repository }} @@ -34,4 +34,4 @@ jobs: script: | const ignore = require('ignore'); const { validateCodeowners } = require('./.github/workflows/scripts/check_for_new_files.js'); - validateCodeowners({github, context, fetch, ignore}); + await validateCodeowners({github, context, fetch, ignore}); diff --git a/.github/workflows/check_for_new_fragments.yml b/.github/workflows/check_for_new_fragments.yml index 2e7fad2c7fa..461b544093e 100644 --- a/.github/workflows/check_for_new_fragments.yml +++ b/.github/workflows/check_for_new_fragments.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Check if there are new fragments - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: new-fragments-boolean with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -20,7 +20,7 @@ jobs: return getAddedFragments({github, context, core}); - name: Add Comment to PR if new fragments have been added if: ${{ steps.new-fragments-boolean.outputs.result > 0 }} - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 env: CURRENT_BRANCH: ${{ github.head_ref }} CURRENT_REPO: ${{ github.repository }} diff --git a/.github/workflows/check_for_redirects.yml b/.github/workflows/check_for_redirects.yml index 236f0ec1db2..a5e5f28c9dd 100644 --- a/.github/workflows/check_for_redirects.yml +++ b/.github/workflows/check_for_redirects.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository to get the workflow scripts - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Get count of deleted files - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 id: set-deleted-files-count with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -23,7 +23,7 @@ jobs: const paths = PATHS_TO_CHECK.split(','); const { getDeletedFilesFromPR } = require('./.github/workflows/scripts/utilities.js'); - return getDeletedFilesFromPR({github, context, paths}); + return await getDeletedFilesFromPR({github, context, paths}); - name: Create artifact containing the PR number and deleted file count env: PR_NUMBER: ${{ github.event.pull_request.number }} @@ -32,7 +32,7 @@ jobs: echo ${{ env.PR_NUMBER }} >> $artifactName echo ${{ steps.set-deleted-files-count.outputs.result }} >> $artifactName - name: Upload the redirects file to artifacts - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 https://github.com/actions/upload-artifact/commit/0b7f8abb1508181956e8e162db84b466c27e18ce + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: ${{ env.ARTIFACT_NAME }} path: '${{ env.ARTIFACT_NAME }}.txt' diff --git a/.github/workflows/check_pr_for_broken_links.yml b/.github/workflows/check_pr_for_broken_links.yml index e1098c393e2..b3dbdbe1ac9 100644 --- a/.github/workflows/check_pr_for_broken_links.yml +++ b/.github/workflows/check_pr_for_broken_links.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Node.js 20 - uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0 https://github.com/actions/setup-node/commit/e33196f7422957bea03ed53f6fbb155025ffc7b8 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install Dependencies @@ -27,7 +27,7 @@ jobs: sleep 5 - name: Run Link Checker id: checkLinks - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 https://github.com/actions/github-script/commit/d7906e4ad0b1822421a7e6a35d5ca353c962f410 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: result-encoding: string script: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 51854217aa8..1e6b77f7fd2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: # Minimal depth 2 so we can checkout the commit before possible merge commit. fetch-depth: 2 diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 213388002a2..4724f09fd3d 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Setup Node.js 20 - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v.3.8.1 https://github.com/actions/setup-node/commit/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: 20.x - name: Install Dependencies diff --git a/Readme.md b/Readme.md index c6b00962298..623de18b290 100644 --- a/Readme.md +++ b/Readme.md @@ -169,6 +169,13 @@ let mut a = String::from("a"); ```` +### Video +Videos can be added using the `