diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0074fea6f0..bb4a85655e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3.3.0 + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0 with: node-version: 16.x cache: npm @@ -45,8 +45,8 @@ jobs: needs: prepare-npm-cache steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3.3.0 + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0 with: node-version: 16.x cache: npm @@ -71,18 +71,18 @@ jobs: needs: prepare-npm-cache steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 - name: Get npm cache id: npm-cache run: echo "::set-output name=dir::$(npm config get cacheFolder)" - - uses: actions/cache@v3 + - uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # tag=v3 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ matrix.node-version }}-npm-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node-${{ matrix.node-version }}-npm- - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.3.0 + uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0 with: node-version: ${{ matrix.node-version }} - name: Install and build diff --git a/.github/workflows/doc-generator.yml b/.github/workflows/doc-generator.yml index 5a1f82ed58..2e2bd908c7 100644 --- a/.github/workflows/doc-generator.yml +++ b/.github/workflows/doc-generator.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. with: persist-credentials: false @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. with: persist-credentials: false @@ -49,7 +49,7 @@ jobs: npm run build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.3.3 + uses: JamesIves/github-pages-deploy-action@8817a56e5bfec6e2b08345c81f4d422db53a2cdc # tag=v4.3.3 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages # The branch the action should deploy to. diff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.yml index 845c9df055..151225ce92 100644 --- a/.github/workflows/release-and-publish.yml +++ b/.github/workflows/release-and-publish.yml @@ -48,7 +48,7 @@ jobs: # it - name: Checkout code # https://github.com/marketplace/actions/checkout - uses: actions/checkout@v3 + uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 # Runs a single command using the runners shell - name: Create release for tag @@ -68,9 +68,9 @@ jobs: steps: # https://github.com/marketplace/actions/checkout - - uses: actions/checkout@v3 + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 # https://github.com/marketplace/actions/setup-node-js-environment - - uses: actions/setup-node@v3.3.0 + - uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0 with: node-version: 12 registry-url: https://registry.npmjs.org/