Skip to content

Commit 49cada6

Browse files
Merge pull request #2007 from kristof-mattei/add-validate-formatting-as-needed-step
add validate formatting as needed step
2 parents e28e2d9 + 69f84c6 commit 49cada6

File tree

5 files changed

+32
-3
lines changed

5 files changed

+32
-3
lines changed

.github/settings.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ branches:
142142
checks:
143143
- context: "All done"
144144
app_id: 15368
145+
- context: "Validate formatting"
146+
app_id: 15368
145147
- context: "codecov/project"
146148
app_id: 254
147149
# Commits pushed to matching refs must have verified signatures.

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2-
name: Format
2+
name: Validate formatting
33

44
on:
55
workflow_dispatch:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"prettier": "3.6.2",
13-
"prettier-plugin-sh": "0.18.0"
13+
"prettier-plugin-sh": "0.18.0",
14+
"prettier-plugin-toml": "2.0.6"
1415
}
1516
}

pnpm-lock.yaml

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

prettier.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ export default {
3636
},
3737
},
3838
],
39-
plugins: ["prettier-plugin-sh"],
39+
plugins: ["prettier-plugin-sh", "prettier-plugin-toml"],
4040
};

0 commit comments

Comments
 (0)