diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5b0a58f18..e2a415b362 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: name: Check typos runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1 - uses: crate-ci/typos@master with: files: . @@ -33,9 +33,9 @@ jobs: needs: check-typos runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1 - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 with: node-version-file: .node-version cache: pnpm @@ -50,9 +50,9 @@ jobs: permissions: contents: write steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1 - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 with: node-version-file: .node-version cache: pnpm @@ -60,7 +60,7 @@ jobs: - run: pnpm run build env: REDIRECT: true - - uses: peaceiris/actions-gh-pages@v4 + - uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4 if: github.ref_name == 'main' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 054da0a106..7ab5ec89f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,16 +22,16 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1 - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: repository: oxc-project/oxc ref: main path: oxc - name: Install Tools - uses: taiki-e/install-action@v2 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2 with: tool: just @@ -39,14 +39,14 @@ jobs: - run: rm -rf oxc - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 with: node-version-file: .node-version cache: pnpm - run: pnpm install --frozen-lockfile - run: pnpm run fmt --write ./src/docs/guide/usage/linter - - uses: peter-evans/create-pull-request@v7 + - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7 with: token: ${{ secrets.OXC_BOT_PAT }} commit-message: Release ${{ inputs.version }}