You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workflow-templates/check-action-metadata-task.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,17 +76,17 @@ Define the `{repository-owner}` and `{repository-name}` attributes and use them
76
76
```text
77
77
Add CI workflow to validate action.yml
78
78
79
-
A task and GitHub Actions workflow are provided here for validating the action.yml metadata file of GitHub Actions
80
-
actions.
79
+
A task and GitHub Actions workflow are provided here to check for problems in the `action.yml` metadata file of GitHub Actions actions by validating it against the JSON schema.
81
80
82
-
On every push or pull request that affects the metadata file, and periodically, validate action.yml against its JSON
83
-
schema.
81
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
82
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
83
+
triggered periodically, in order to catch breakage caused by external changes.
84
84
```
85
85
86
86
## PR message
87
87
88
88
```markdown
89
-
A task and GitHub Actions workflow are provided here for validating the [`action.yml`](https://docs.github.com/actions/creating-actions/metadata-syntax-for-github-actions) metadata file of [GitHub Actions actions](https://docs.github.com/actions/learn-github-actions/understanding-github-actions#actions).
89
+
A task and GitHub Actions workflow are provided here to check for problems in the [`action.yml`](https://docs.github.com/actions/creating-actions/metadata-syntax-for-github-actions) metadata file of [GitHub Actions actions](https://docs.github.com/actions/learn-github-actions/understanding-github-actions#actions) by validating it against [the JSON schema](https://json.schemastore.org/github-action.json).
90
90
91
-
On every push or pull request that affects the metadata file, and periodically, validate `action.yml` against [its JSON schema](https://json.schemastore.org/github-action.json).
91
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
Copy file name to clipboardExpand all lines: workflow-templates/check-files-task.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,9 +61,9 @@ Tasks are also added to check for problems with symbolic links ("symlinks") cont
61
61
- Broken symlinks
62
62
- Circular symlinks
63
63
64
-
A GitHub Actions workflow is included to run the tasks on any change to the project files in order to avoid the
65
-
introduction of problems with the project filesystem, and periodically in order to catch breakage caused by external
66
-
changes.
64
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
65
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
66
+
triggered periodically, in order to catch breakage caused by external changes.
67
67
```
68
68
69
69
## PR message
@@ -81,5 +81,5 @@ Tasks are also added to check for problems with symbolic links ("symlinks") cont
81
81
- Broken symlinks
82
82
- Circular symlinks
83
83
84
-
A GitHub Actions workflow is included to run the taskson any change to the project files in order to avoid the introduction of problems with the project filesystem, and periodically in order to catch breakage caused by external changes.
84
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
Copy file name to clipboardExpand all lines: workflow-templates/check-general-formatting-task.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,14 +49,23 @@ Define the `{repository-owner}` and `{repository-name}` attributes and use them
49
49
## Commit message
50
50
51
51
```
52
-
Add CI workflow to check general file formatting
52
+
Add infrastructure for checking general file formatting
53
53
54
-
On every push, pull request, and periodically, check whether the repository's files are formatted according to
55
-
.editorconfig.
54
+
The project's .editorconfig file defines the fundamental formatting style for use in the project files.
55
+
56
+
A task is added to use the "editorconfig-checker" tool to verify the formatting of the project files is compliant.
57
+
58
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
59
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
60
+
triggered periodically, in order to catch breakage caused by external changes.
56
61
```
57
62
58
63
## PR message
59
64
60
65
```markdown
61
-
On every push, pull request, and periodically, use [editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) check whether the repository's files are formatted according to [`.editorconfig`](https://editorconfig.org/).
66
+
The project's [`.editorconfig`](https://editorconfig.org/) file defines the fundamental formatting style for use in the project files.
67
+
68
+
A task is added to use the [**editorconfig-checker**](https://github.com/editorconfig-checker/editorconfig-checker) tool to verify the formatting of the project files is compliant.
69
+
70
+
A GitHub Actions workflow is included to automatically run the task. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
Copy file name to clipboardExpand all lines: workflow-templates/check-go-task.md
+8-14Lines changed: 8 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Install the [`check-go-task.yml`](check-go-task.yml) GitHub Actions workflow to
14
14
- Install to: repository root (or merge into the existing `Taskfile.yml`).
15
15
-[`.golangci.yml`](assets/go/.golangci.yml) - Contains all the go-linting configurations.
16
16
- Install to: repository root as `.golangci.yml`
17
-
-[`Taskfile.yml`](assets/go-task/Taskfile.yml) - `DEFAULT_GO_MODULE_PATH` and `DEFAULT_GO_PACKAGES` variables
17
+
-[`Taskfile.yml`](assets/go-task/Taskfile.yml) - `DEFAULT_GO_MODULE_PATH` and `DEFAULT_GO_PACKAGES` variables.
18
18
- Merge into `Taskfile.yml`
19
19
20
20
### Configuration
@@ -50,25 +50,19 @@ Define the `{repository-owner}` and `{repository-name}` attributes and use them
50
50
## Commit message
51
51
52
52
```
53
-
Add CI workflow to lint and check formatting of Go code
53
+
Add infrastructure to lint and format Go code
54
54
55
-
On every push and pull request that affects relevant files, check the Go module for:
55
+
Tasks are provided to format and check for problems in the project's Go modules.
56
56
57
-
- Common detectable errors in the code.
58
-
- Use of outdated APIs
59
-
- Code style violations
60
-
- Code formatting inconsistency
61
-
- Misconfiguration
57
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
58
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
59
+
triggered periodically, in order to catch breakage caused by external changes.
62
60
```
63
61
64
62
## PR message
65
63
66
64
```markdown
67
-
On every push and pull request that affects relevant files, check the repository's [Go](https://golang.org/) module for:
65
+
Tasks are provided to format and check for problems in the project's [Go](https://golang.org/) modules.
68
66
69
-
- Common detectable errors in the code.
70
-
- Use of outdated APIs
71
-
- Code style violations
72
-
- Code formatting inconsistency
73
-
- Misconfiguration
67
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
A GitHub Actions workflow is included to automatically run the task. The workflow is triggered on any push or pull that
88
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
89
+
triggered periodically, in order to catch breakage caused by external changes.
90
90
```
91
91
92
92
## PR message
93
93
94
94
```markdown
95
-
On every push and pull request that affects relevant files, and periodically, run [**ESLint**](https://eslint.org/) on the repository's JavaScript files.
95
+
A task is provided to run [**ESLint**](https://eslint.org/) on the project's JavaScript files.
96
96
97
-
**ESLint** is configured via the `.eslintrc.yml` file:
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
110
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
111
+
triggered periodically, in order to catch breakage caused by external changes.
118
112
```
119
113
120
114
## PR message
121
115
122
116
```markdown
123
-
On every push and pull request that affects relevant files, and periodically, check the repository's Markdown files for
124
-
problems:
117
+
Add infrastructure to check for problems in Markdown files
118
+
119
+
Tasks are provided to check for problems in the project's Markdown files:
125
120
126
121
- Use [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) to check for common problems and formatting.
127
122
- Use [markdown-link-check](https://github.com/tcort/markdown-link-check) to check for broken links.
128
123
129
-
The Arduino tooling Markdown style is defined by the `.markdownlint.yml` file.
130
-
131
-
In the event the repository contains externally maintained Markdown files, markdownlint can be configured to ignore them via a `.markdownlintignore` file:
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
Copy file name to clipboardExpand all lines: workflow-templates/check-npm-task.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,19 +63,25 @@ Define the `{repository-owner}` and `{repository-name}` attributes and use them
63
63
## Commit message
64
64
65
65
```
66
-
Add CI workflow to check for problems with npm configuration files
66
+
Add infrastructure to check for problems with npm configuration files
67
67
68
-
On every push and pull request that affects relevant files, and periodically:
68
+
Tasks are provided to check for problems in the project's npm configuration files:
69
69
70
-
- Validate package.json against its JSON schema.
71
-
- Check for forgotten package-lock.json syncs.
70
+
* Validate package.json against its JSON schema.
71
+
* Check for forgotten package-lock.json syncs.
72
+
73
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
74
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
75
+
triggered periodically, in order to catch breakage caused by external changes.
72
76
```
73
77
74
78
## PR message
75
79
76
80
```markdown
77
-
On every push and pull request that affects relevant files, and periodically:
81
+
Tasks are provided to check for problems in the project's npm configuration files:
78
82
79
83
- Validate [`package.json`](https://docs.npmjs.com/cli/v7/configuring-npm/package-json) against [its JSON schema](https://json.schemastore.org/package.json).
80
84
- Check for forgotten [`package-lock.json`](https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json) syncs.
85
+
86
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
Copy file name to clipboardExpand all lines: workflow-templates/check-poetry-task.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,9 @@ The tasks provide the following operations:
52
52
* Update the `poetry.lock` file as may be required following manual modifications to `pyproject.toml`, or update of the
53
53
"Poetry" application
54
54
55
-
These tasks are executed by the GitHub Actions workflow on any push or pull request that modifies relevant files, and
56
-
periodically to check for breakage caused by external changes.
55
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that
56
+
changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also
57
+
triggered periodically, in order to catch breakage caused by external changes.
57
58
```
58
59
59
60
## PR message
@@ -68,5 +69,5 @@ The tasks provide the following operations:
68
69
- Check for problems with the data structure of the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) Python project file
69
70
- Update the `poetry.lock` file as may be required following manual modifications to `pyproject.toml`, or update of the **Poetry** application
70
71
71
-
These tasks are executed by the GitHub Actions workflow on any push or pull request that modifies relevant files, and periodically to check for breakage caused by external changes.
72
+
A GitHub Actions workflow is included to automatically run the tasks. The workflow is triggered on any push or pull that changes relevant project files, in order to avoid the introduction of problems with the project filesystem. It is also triggered periodically, in order to catch breakage caused by external changes.
0 commit comments