diff --git a/.github/actions/setup-pnpm-with-dependencies/action.yaml b/.github/actions/setup-pnpm-with-dependencies/action.yaml index d01dbd00..00573e11 100644 --- a/.github/actions/setup-pnpm-with-dependencies/action.yaml +++ b/.github/actions/setup-pnpm-with-dependencies/action.yaml @@ -37,7 +37,7 @@ runs: echo "pnpm-version=${voltaPnpmVersion}">> $GITHUB_OUTPUT - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: node-version: ${{ steps.node-version.outputs.node-version }} @@ -50,7 +50,7 @@ runs: - name: Dependency Cache id: dependency-cache - uses: actions/cache@v4 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: '**/node_modules' key: pnpm-${{ steps.node-version.outputs.pnpm-version }}-${{ steps.node-version.outputs.node-version }}-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} diff --git a/.github/workflows/cleanup-preview-packages.yaml b/.github/workflows/cleanup-preview-packages.yaml index d9524a09..9fd4a595 100644 --- a/.github/workflows/cleanup-preview-packages.yaml +++ b/.github/workflows/cleanup-preview-packages.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout Source Code - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Prepare cleanup id: prepare diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index a68fe86c..e260803f 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 @@ -17,6 +17,6 @@ jobs: - name: Remove tsconfig run: rm tsconfig.json - - uses: wagoid/commitlint-github-action@v6.1.2 + - uses: wagoid/commitlint-github-action@0184f5a228ee06430bb9e67d65f73a1a6767496a # v6.2.0 with: configFile: commitlint.config.ts diff --git a/.github/workflows/pr-closed.yaml b/.github/workflows/pr-closed.yaml index a89ac15d..7b53cee3 100644 --- a/.github/workflows/pr-closed.yaml +++ b/.github/workflows/pr-closed.yaml @@ -12,10 +12,10 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLIC_PUBLISH }} steps: - name: Checkout Source Code - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Remove preview consumption comment - uses: marocchino/sticky-pull-request-comment@v2 + uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0 with: header: pr_preview_consumption delete: true diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1efbeddb..e12444b8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 token: ${{ secrets.KONGPONENTS_BOT_PAT }} @@ -41,7 +41,7 @@ jobs: run: pnpm run build - name: Semantic Release - uses: cycjimmy/semantic-release-action@v4 + uses: cycjimmy/semantic-release-action@b1b432f13acb7768e0c8efdec416d363a57546f2 # v4.1.1 env: # Since branch protections are on (pushing commits) you need to use a bot PAT GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }} @@ -68,7 +68,7 @@ jobs: cancel-in-progress: false steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup PNPM with Dependencies uses: ./.github/actions/setup-pnpm-with-dependencies/ diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 29a158ac..a11e95dd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,14 +24,14 @@ jobs: steps: - name: Remove preview consumption comment if: github.event_name == 'pull_request' - uses: marocchino/sticky-pull-request-comment@v2 + uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0 with: header: pr_preview_consumption delete: true GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }} - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 @@ -97,7 +97,7 @@ jobs: - name: Provide preview link info if: ${{ steps.package-preview.outputs.npm_instructions != '' }} - uses: marocchino/sticky-pull-request-comment@v2 + uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0 with: header: pr_preview_consumption message: |