From ebe33f202a721342dd711679ccccf2d23077d8e4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:30:09 +0000 Subject: [PATCH] Pin dependencies --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/deploy.yml | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99ed9252e..f521d36a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,8 +5,8 @@ jobs: javascript-tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 with: node-version: 20.8.1 cache: "yarn" @@ -37,11 +37,11 @@ jobs: timeout-minutes: 60 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 with: node-version: 20 - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: repository: "mitodl/ocw-hugo-projects" ref: "main" @@ -54,7 +54,7 @@ jobs: run: npx playwright install --with-deps - name: Run Playwright tests run: yarn test:e2e - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@9ee08a3b00e91a926cc9547dc79589c20872452f # v3 if: always() with: name: playwright-report diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 711a9b908..8235ef3ac 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,15 +15,15 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 with: node-version: 20.8.1 cache: "yarn" - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2 with: hugo-version: "latest" extended: true @@ -38,7 +38,7 @@ jobs: run: (cd ..; git clone git@github.mit.edu:ocw-content-rc/15.s21-january-iap-2014.git ocw-course) - name: Clone ocw-hugo-projects for config - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 with: repository: "mitodl/ocw-hugo-projects" ref: "main" @@ -69,7 +69,7 @@ jobs: RESOURCE_BASE_URL: ${{ secrets.RESOURCE_BASE_URL }} - name: Deploy www Preview to Netlify - uses: nwtgck/actions-netlify@v2.1 + uses: nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352 # v2.1 if: ${{ github.event_name == 'pull_request' }} with: publish-dir: "../ocw-www/public" @@ -84,7 +84,7 @@ jobs: NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - name: Deploy v2 Course Preview to Netlify - uses: nwtgck/actions-netlify@v2.1 + uses: nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352 # v2.1 if: ${{ github.event_name == 'pull_request' }} with: publish-dir: "../ocw-course/public-v2" @@ -104,7 +104,7 @@ jobs: body=$(echo 'Netlify Deployments:
www: https://ocw-hugo-themes-www-pr-${{ github.event.number }}--ocw-next.netlify.app/
Course v2: https://ocw-hugo-themes-course-v2-pr-${{ github.event.number }}--ocw-next.netlify.app/') echo "body=$body" >> $GITHUB_OUTPUT - name: Find Comment - uses: peter-evans/find-comment@v2 + uses: peter-evans/find-comment@a54c31d7fa095754bfef525c0c8e5e5674c4b4b1 # v2 id: fc continue-on-error: true with: @@ -114,7 +114,7 @@ jobs: - name: Create comment if: ${{ steps.fc.outputs.comment-id == 0 }} - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3 continue-on-error: true with: issue-number: ${{ github.event.pull_request.number }} @@ -122,7 +122,7 @@ jobs: - name: Update comment if: ${{ steps.fc.outputs.comment-id != 0 }} - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3 continue-on-error: true with: comment-id: ${{ steps.fc.outputs.comment-id }} @@ -130,7 +130,7 @@ jobs: body: ${{ steps.set-comment-body.outputs.body }} - name: Deploy CI build to Netlify - uses: nwtgck/actions-netlify@v2.1 + uses: nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352 # v2.1 if: ${{ github.event_name == 'push' }} with: publish-dir: "../ocw-www/public" @@ -148,9 +148,9 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event_name == 'pull_request' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 with: node-version: 20.8.1 cache: "yarn"