diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index 83ebc1457a8..00000000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: pre-commit - -on: - push: - branches: [master] - pull_request: - branches: [master] - merge_group: - types: [checks_requested] - branches: [master] - -jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.0 - # FIXME Flip this off once we get to less than a couple hundred. Adding - # this so it will only run against changed files. It'll make it much - # easier to fix these as they come up rather than everything at once. - with: - extra_args: "" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 832b1898029..7efefb42b80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,18 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 + # FIXME Flip this off once we get to less than a couple hundred. Adding + # this so it will only run against changed files. It'll make it much + # easier to fix these as they come up rather than everything at once. + with: + extra_args: "" + prettier: runs-on: ubuntu-latest steps: