diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index 93b06ce5e85..ad6f411d554 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -15,15 +15,15 @@ jobs: node: [*node_version] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -40,7 +40,7 @@ jobs: if: matrix.os == 'windows-latest' run: 7z a -ttar -xr!node_modules -r build.tar . - name: Upload build artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 with: name: build-${{ matrix.os }}-${{ matrix.node }} path: build.tar @@ -73,7 +73,7 @@ jobs: with: minimum-size: 16GB disk-root: "C:" - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build-${{ matrix.os }}-${{ matrix.nodeBuild }} - name: Unpack build artifact (non-Windows) @@ -83,13 +83,13 @@ jobs: if: matrix.os == 'windows-latest' run: 7z x build.tar && del build.tar - name: Use Node.js ${{ matrix.nodeRun }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.nodeRun }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -100,7 +100,7 @@ jobs: - name: Cache .eslintcache if: matrix.nodeRun == matrix.nodeBuild id: eslintcache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | .eslintcache @@ -121,7 +121,7 @@ jobs: - name: Compress output (Windows) if: matrix.nodeRun == matrix.nodeBuild && matrix.os == 'windows-latest' && always() run: 7z a -ttar -r coverage.tar coverage - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 if: matrix.nodeRun == matrix.nodeBuild && always() with: name: coverage-${{ matrix.os }}-${{ matrix.nodeRun }} @@ -131,17 +131,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. Default: 1 fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/docs/node_modules diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 2e18d3807ca..3ecf2b6fe96 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -9,17 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. Default: 1 fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: 22 - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/docs/node_modules @@ -38,7 +38,7 @@ jobs: working-directory: docs - name: Upload artifact - uses: actions/upload-pages-artifact@v5 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: docs/build deploy_docs: @@ -57,4 +57,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v5 \ No newline at end of file + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c95e82b092e..2207c7d0dff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,15 +16,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -37,7 +37,7 @@ jobs: - name: Compress output run: tar -cvf build.tar --exclude node_modules ./ - name: Upload build artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 with: name: build path: build.tar @@ -47,19 +47,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build - name: Unpack build artifact run: tar -xvf build.tar && rm build.tar - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -69,7 +69,7 @@ jobs: run: npm ci - name: Cache .eslintcache id: eslintcache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | .eslintcache @@ -81,7 +81,7 @@ jobs: - name: Compress output if: always() run: tar -cvf coverage.tar coverage - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 if: always() with: name: coverage @@ -91,14 +91,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/docs/node_modules @@ -121,19 +121,19 @@ jobs: id-token: write steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build - name: Unpack build artifact run: tar -xvf build.tar && rm build.tar - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -151,13 +151,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build - name: Unpack build artifact run: tar -xvf build.tar && rm build.tar - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/release_next.yml b/.github/workflows/release_next.yml index ea71a6d89e8..1c99165f3eb 100644 --- a/.github/workflows/release_next.yml +++ b/.github/workflows/release_next.yml @@ -16,15 +16,15 @@ jobs: node: [*node_version] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -41,7 +41,7 @@ jobs: if: matrix.os == 'windows-latest' run: 7z a -ttar -xr!node_modules -r build.tar . - name: Upload build artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 with: name: build-${{ matrix.os }}-${{ matrix.node }} path: build.tar @@ -74,7 +74,7 @@ jobs: with: minimum-size: 16GB disk-root: "C:" - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build-${{ matrix.os }}-${{ matrix.nodeBuild }} - name: Unpack build artifact (non-Windows) @@ -84,13 +84,13 @@ jobs: if: matrix.os == 'windows-latest' run: 7z x build.tar && del build.tar - name: Use Node.js ${{ matrix.nodeRun }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.nodeRun }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -101,7 +101,7 @@ jobs: - name: Cache .eslintcache if: matrix.nodeRun == matrix.nodeBuild id: eslintcache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | .eslintcache @@ -122,7 +122,7 @@ jobs: - name: Compress output (Windows) if: matrix.nodeRun == matrix.nodeBuild && matrix.os == 'windows-latest' && always() run: 7z a -ttar -r coverage.tar coverage - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 if: matrix.nodeRun == matrix.nodeBuild && always() with: name: coverage-${{ matrix.os }}-${{ matrix.nodeRun }} @@ -132,17 +132,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. Default: 1 fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/docs/node_modules @@ -161,7 +161,7 @@ jobs: working-directory: docs - name: Upload artifact - uses: actions/upload-pages-artifact@v5 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: docs/build publish_next: @@ -173,19 +173,19 @@ jobs: id-token: write steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build-ubuntu-latest-${{ env.NODE_VERSION }} - name: Unpack build artifact run: tar -xvf build.tar && rm build.tar - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 6.1.0 with: path: | **/node_modules @@ -202,7 +202,7 @@ jobs: - name: Compress output run: tar -cvf build.tar --exclude node_modules ./ - name: Upload build artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 7.0.1 with: name: build-ubuntu-latest-${{ env.NODE_VERSION }} path: build.tar @@ -223,20 +223,20 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v5 + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0 deploy_docker: if: github.repository_owner == 'pnp' needs: publish_next runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v8 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: build-ubuntu-latest-${{ env.NODE_VERSION }} - name: Unpack build artifact run: tar -xvf build.tar && rm build.tar - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index ec21dd526ba..fa933782fd9 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -10,7 +10,7 @@ jobs: if: github.repository_owner == 'pnp' runs-on: ubuntu-latest steps: - - uses: actions/stale@v10 + - uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0 with: days-before-issue-stale: 335 days-before-issue-close: 30