diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index af60539dd..85afdc5b3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -16,7 +16,7 @@ jobs: NODE_OPTIONS: "--max_old_space_size=4096" steps: - name: Check out code using Git - uses: actions/checkout@v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: ref: ${{ github.head_ref }} token: ${{ secrets.GITHUB_TOKEN }} @@ -24,7 +24,7 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@v3 - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 with: node-version-file: '.node-version' cache: pnpm @@ -35,7 +35,7 @@ jobs: - name: Format code run: pnpm run lint:fix - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v5 + uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5 with: commit_message: '[ci] lint' branch: ${{ github.head_ref }}