From ce3a820ad03ad5e08c0fd23e39e97efcf9d1f27a Mon Sep 17 00:00:00 2001 From: chvmvd Date: Sun, 11 Dec 2022 09:22:46 +0900 Subject: [PATCH 1/2] Fix error in Black Actions --- .github/workflows/black.yml | 3 +++ .github/workflows/eslint.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 5cbbbc690..f24e173b2 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -11,6 +11,9 @@ jobs: name: Check Changes runs-on: ubuntu-latest steps: + - name: Checkout Code + uses: actions/checkout@v3 + - name: Check Changes uses: dorny/paths-filter@v2 id: changes diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 62b72bf7f..bff90dbba 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -11,6 +11,9 @@ jobs: name: Check Changes runs-on: ubuntu-latest steps: + - name: Checkout Code + uses: actions/checkout@v3 + - name: Check Changes uses: dorny/paths-filter@v2 id: changes From 4833d779a821c380e3d5306657652af60313f37d Mon Sep 17 00:00:00 2001 From: chvmvd Date: Sun, 11 Dec 2022 09:32:23 +0900 Subject: [PATCH 2/2] Fix error in Prettier Actions --- .github/workflows/prettier.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 5a3e44253..70db880b1 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: @@ -13,8 +13,6 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 - with: - ref: ${{ github.head_ref }} - name: Cache Node Modules uses: actions/cache@v3