-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
super-linterアップデート・prettierを使う (#1398)
* Update super-linter/super-linter action to v7 * Add prettier * formatが間違ってたので直してあげたよ! (#1399) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * 処理修正 * setupを先頭に移動 * 順序統一 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: dev-hato-app[bot] <111467236+dev-hato-app[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Goryudyuma(Kei.Matsumoto) <[email protected]>
- Loading branch information
1 parent
c35aa5f
commit 080d94f
Showing
6 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,29 @@ | ||
name: 'format-json-yml' | ||
author: 'dev-hato Development Team' | ||
description: 'JSONやYAMLのフォーマットを整える' | ||
name: "format-json-yml" | ||
author: "dev-hato Development Team" | ||
description: "JSONやYAMLのフォーマットを整える" | ||
inputs: | ||
github-token: # id of input | ||
description: 'GITHUB_TOKEN' | ||
description: "GITHUB_TOKEN" | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/[email protected] | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
- shell: bash | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: bash "${{ github.action_path }}/scripts/action/format.sh" | ||
- shell: bash | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: npm ci | ||
- shell: bash | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: npx prettier --write . | ||
- uses: dev-hato/[email protected] | ||
with: | ||
github-token: ${{inputs.github-token}} | ||
branch-name-prefix: fix-format-json-yml | ||
pr-title-prefix: formatが間違ってたので直してあげたよ! | ||
pr-description-prefix: formatが間違ってたので直してあげたよ! |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>dev-hato/renovate-config" | ||
] | ||
"extends": ["github>dev-hato/renovate-config"] | ||
} |