Skip to content

Commit 78dfc80

Browse files
massongitrenovate[bot]github-actions[bot]
authored
dev-hato/actions-format-json-ymlアップデート・CI update-readmeへのprettier追加 (#1071)
* Update dev-hato/actions-format-json-yml action to v0.0.69 * Add prettier * README修正 (#1072) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2ed878d commit 78dfc80

File tree

10 files changed

+34
-16
lines changed

10 files changed

+34
-16
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
pull_request:
1717
branches: ["main"]
1818
schedule:
19-
- cron: '15 7 * * 2'
19+
- cron: "15 7 * * 2"
2020
permissions:
2121
actions: read
2222
contents: read
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
language: ['javascript-typescript']
37+
language: ["javascript-typescript"]
3838
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
3939
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
4040
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both

.github/workflows/format-json-yml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
fetch-depth: 0
3030
ref: ${{ github.event.pull_request.head.sha }}
3131
token: ${{steps.generate_token.outputs.token}}
32-
- uses: dev-hato/[email protected].66
32+
- uses: dev-hato/[email protected].69
3333
with:
3434
github-token: ${{steps.generate_token.outputs.token}}
3535
concurrency:

.github/workflows/github-actions-cache-cleaner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
schedule:
8-
- cron: '0 21 * * *' # 06:00 JST
8+
- cron: "0 21 * * *" # 06:00 JST
99
workflow_dispatch:
1010
pull_request:
1111
paths:

.github/workflows/update-readme.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
env:
4545
INPUTS: ${{steps.get_inputs_markdown.outputs.result}}
4646
run: bash "${GITHUB_WORKSPACE}/scripts/update_readme/update_readme/update_readme.sh"
47+
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
48+
run: npx prettier --write .
4749
- uses: dev-hato/[email protected]
4850
with:
4951
github-token: ${{secrets.GITHUB_TOKEN}}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches:
1111
- main
1212
schedule:
13-
- cron: '0 21 * * *'
13+
- cron: "0 21 * * *"
1414
workflow_dispatch:
1515

1616
jobs:
@@ -25,9 +25,9 @@ jobs:
2525
2626
## 引数
2727
28-
| 引数名 | 説明 | 必須 |
29-
|:---:|:---:|:---:|
30-
| github-token | GitHubのトークン。 | O |
28+
| 引数名 | 説明 | 必須 |
29+
| :----------: | :----------------: | :--: |
30+
| github-token | GitHubのトークン。 | O |
3131
3232
## 開発
3333

README.template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches:
1111
- main
1212
schedule:
13-
- cron: '0 21 * * *'
13+
- cron: "0 21 * * *"
1414
workflow_dispatch:
1515

1616
jobs:

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: 'github-actions-cache-cleaner'
2-
author: 'dev-hato Development Team'
3-
description: 'GitHub Actionsのキャッシュが7GB未満になるまで掃除するGitHub Actionsです。'
1+
name: "github-actions-cache-cleaner"
2+
author: "dev-hato Development Team"
3+
description: "GitHub Actionsのキャッシュが7GB未満になるまで掃除するGitHub Actionsです。"
44
inputs:
55
github-token: # id of input
6-
description: 'GitHubのトークン。'
6+
description: "GitHubのトークン。"
77
required: true
88
runs:
99
using: "composite"

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"@proofdict/textlint-rule-proofdict": "3.1.2",
44
"@textlint-ja/textlint-rule-no-insert-dropping-sa": "2.0.1",
55
"js-yaml": "4.1.0",
6+
"prettier": "^3.3.3",
67
"textlint": "14.2.0",
78
"textlint-filter-rule-comments": "1.2.2",
89
"textlint-rule-abbr-within-parentheses": "1.0.2",

renovate.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"github>dev-hato/renovate-config"
5-
]
3+
"extends": ["github>dev-hato/renovate-config"]
64
}

0 commit comments

Comments
 (0)