From 3378113edce3896ffdc1107466d66d9ca10113a1 Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:28:02 +0900 Subject: [PATCH 1/7] ci: ignore line lint check for empty files --- .github/workflows/integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index deb24d546..2e2fd61e9 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -16,7 +16,7 @@ jobs: files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }}) success=true for file in $files; do - if [ "$(tail -c 1 $file | wc -l)" -eq 0 ]; then + if [ -s "$file" ] && [ "$(tail -c 1 $file | wc -l)" -eq 0 ]; then echo "- $file" >> $GITHUB_STEP_SUMMARY success=false fi From 801de7fca268684e930a68b7e43641b314a041e6 Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:32:09 +0900 Subject: [PATCH 2/7] ci: ignore line lint check for empty files --- .github/workflows/a.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/workflows/a.md diff --git a/.github/workflows/a.md b/.github/workflows/a.md new file mode 100644 index 000000000..e69de29bb From 6fb30e78f5b4748bbb7c67ca15c617c9d13dd9bb Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:32:43 +0900 Subject: [PATCH 3/7] ci: ignore line lint check for empty files --- .github/workflows/automation.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/automation.yaml b/.github/workflows/automation.yaml index 943175cf0..465ef60be 100644 --- a/.github/workflows/automation.yaml +++ b/.github/workflows/automation.yaml @@ -3,6 +3,9 @@ name: 🤖 Automation on: pull_request_target: types: [opened, reopened] + push: + branches: + - * jobs: assign-author: From 1e76fe38b9b7092dc500d5bb792af55295c652fb Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:33:37 +0900 Subject: [PATCH 4/7] ci: ignore line lint check for empty files --- .github/workflows/automation.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/automation.yaml b/.github/workflows/automation.yaml index 465ef60be..c207b8fbd 100644 --- a/.github/workflows/automation.yaml +++ b/.github/workflows/automation.yaml @@ -4,8 +4,6 @@ on: pull_request_target: types: [opened, reopened] push: - branches: - - * jobs: assign-author: From d9bb3f8e2d5db02f8ac48c286a5b38f1eef3f301 Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:34:24 +0900 Subject: [PATCH 5/7] ci: ignore line lint check for empty files --- .github/workflows/{a.md => a.c} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{a.md => a.c} (100%) diff --git a/.github/workflows/a.md b/.github/workflows/a.c similarity index 100% rename from .github/workflows/a.md rename to .github/workflows/a.c From 2d6bb389d310bd41be82318fbf1b128f254727ed Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:34:28 +0900 Subject: [PATCH 6/7] ci: ignore line lint check for empty files --- .github/workflows/a.cs | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/workflows/a.cs diff --git a/.github/workflows/a.cs b/.github/workflows/a.cs new file mode 100644 index 000000000..e69de29bb From 208e4e1ea42f8f64bcfc03fcf887224918b9f187 Mon Sep 17 00:00:00 2001 From: bky373 Date: Wed, 25 Sep 2024 20:35:08 +0900 Subject: [PATCH 7/7] ci: ignore line lint check for empty files --- .github/workflows/automation.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/automation.yaml b/.github/workflows/automation.yaml index c207b8fbd..d43476237 100644 --- a/.github/workflows/automation.yaml +++ b/.github/workflows/automation.yaml @@ -6,12 +6,12 @@ on: push: jobs: - assign-author: - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - uses: toshimaru/auto-author-assign@v2.1.0 +# assign-author: +# runs-on: ubuntu-latest +# permissions: +# pull-requests: write +# steps: +# - uses: toshimaru/auto-author-assign@v2.1.0 label-lang: runs-on: ubuntu-latest