From 3f3816424ee0e305474ea9505a82f56f5345fb78 Mon Sep 17 00:00:00 2001 From: fkatsuhiro Date: Sun, 28 Sep 2025 15:16:21 +0900 Subject: [PATCH 1/4] add: markdownlint --- .github/workflows/markdownLint.yml | 15 +++++++++++++++ markdownlint-cl2.jsonc | 13 +++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/markdownLint.yml create mode 100644 markdownlint-cl2.jsonc diff --git a/.github/workflows/markdownLint.yml b/.github/workflows/markdownLint.yml new file mode 100644 index 0000000..6208ab3 --- /dev/null +++ b/.github/workflows/markdownLint.yml @@ -0,0 +1,15 @@ +name: Deploy to Server + +on: + push: + branches: + - master + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run markdownlint-cli2 + uses: DavidAnson/markdownlint-cli2-action@5451a9242275993b2c687255850901b05a769062 \ No newline at end of file diff --git a/markdownlint-cl2.jsonc b/markdownlint-cl2.jsonc new file mode 100644 index 0000000..9631e54 --- /dev/null +++ b/markdownlint-cl2.jsonc @@ -0,0 +1,13 @@ + +{ + "config": { + "line-length": false, + "no-hard-tabs": false, + "no-trailing-punctuation": false, + "no-inline-html": false, + "no-bare-urls": false, + "no-space-in-emphasis":false, + "link-fragments":false + }, + "ignores": [".git", "node_modules"] +} \ No newline at end of file From 1eb684c65ada93fae0c265ab2b6cfa7a9d1fa13d Mon Sep 17 00:00:00 2001 From: fkatsuhiro Date: Sun, 28 Sep 2025 15:16:44 +0900 Subject: [PATCH 2/4] add: markdownlint --- .github/workflows/markdownLint.yml | 2 +- markdownlint-cl2.jsonc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/markdownLint.yml b/.github/workflows/markdownLint.yml index 6208ab3..ce3cf8a 100644 --- a/.github/workflows/markdownLint.yml +++ b/.github/workflows/markdownLint.yml @@ -12,4 +12,4 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Run markdownlint-cli2 - uses: DavidAnson/markdownlint-cli2-action@5451a9242275993b2c687255850901b05a769062 \ No newline at end of file + uses: DavidAnson/markdownlint-cli2-action@5451a9242275993b2c687255850901b05a769062 diff --git a/markdownlint-cl2.jsonc b/markdownlint-cl2.jsonc index 9631e54..39c5981 100644 --- a/markdownlint-cl2.jsonc +++ b/markdownlint-cl2.jsonc @@ -10,4 +10,4 @@ "link-fragments":false }, "ignores": [".git", "node_modules"] -} \ No newline at end of file +} From b0b514b1d8ecd70d3faa9977b86f116a6660c82b Mon Sep 17 00:00:00 2001 From: fkatsuhiro Date: Sun, 28 Sep 2025 15:51:53 +0900 Subject: [PATCH 3/4] fix: run trigger create pr --- .github/workflows/markdownLint.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/markdownLint.yml b/.github/workflows/markdownLint.yml index ce3cf8a..afc63fe 100644 --- a/.github/workflows/markdownLint.yml +++ b/.github/workflows/markdownLint.yml @@ -1,15 +1,13 @@ name: Deploy to Server on: - push: - branches: - - master + pull_request: jobs: build-and-test: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 - name: Run markdownlint-cli2 - uses: DavidAnson/markdownlint-cli2-action@5451a9242275993b2c687255850901b05a769062 + uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 # v16.0.0 From 7c4e805da391c9ba9a60fced9a24061ad962d063 Mon Sep 17 00:00:00 2001 From: fkatsuhiro Date: Sun, 28 Sep 2025 15:53:36 +0900 Subject: [PATCH 4/4] fix: run trigger create pr --- .github/workflows/markdownLint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/markdownLint.yml b/.github/workflows/markdownLint.yml index afc63fe..78e8327 100644 --- a/.github/workflows/markdownLint.yml +++ b/.github/workflows/markdownLint.yml @@ -1,6 +1,7 @@ name: Deploy to Server on: + push: pull_request: jobs: