From 495d1c7e70b1a049183f2195b62a1d41d7e82d7e Mon Sep 17 00:00:00 2001 From: chvmvd Date: Sun, 11 Dec 2022 01:02:54 +0900 Subject: [PATCH 1/2] Fix bug in Actions --- .github/workflows/black.yml | 2 ++ .github/workflows/eslint.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index cec36d043..5cbbbc690 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -27,6 +27,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Run Black uses: psf/black@stable diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 3b8411f74..62b72bf7f 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -27,6 +27,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Cache Node Modules uses: actions/cache@v3 From 4ec4f5bd36ad1a159d6be277d828218747359fd8 Mon Sep 17 00:00:00 2001 From: chvmvd Date: Sun, 11 Dec 2022 01:06:01 +0900 Subject: [PATCH 2/2] Disable Prettier Actions --- .github/workflows/prettier.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 8540d657e..5a3e44253 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -3,8 +3,8 @@ name: Prettier on: push: - pull_request: - branches: [master, main] + # pull_request: + # branches: [master, main] jobs: prettier: