Skip to content

Commit b63ece0

Browse files
authored
Merge pull request #195 from per1234/source-comment
Add source comments to reusable infrastructure components
2 parents 154ed07 + b1608dc commit b63ece0

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

.github/workflows/check-poetry-task.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-poetry-task.md
12
name: Check Poetry
23

34
on:
@@ -67,7 +68,7 @@ jobs:
6768
repo-token: ${{ secrets.GITHUB_TOKEN }}
6869
version: 3.x
6970

70-
- name: Validate pyproject.toml
71+
- name: Validate configuration
7172
run: |
7273
task \
7374
--silent \

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/npm/.npmrc
12
# See: https://docs.npmjs.com/cli/configuring-npm/npmrc
23

34
engine-strict=true

.prettierrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-prettier-formatting/toml/.prettierrc.yml
12
plugins:
23
- prettier-plugin-toml

Taskfile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ vars:
1515
go list ./... | tr '\n' ' ' ||
1616
echo '"ERROR: Unable to discover Go packages"'
1717
)
18+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/npm-task/Taskfile.yml
1819
# Path of the primary npm-managed project:
1920
DEFAULT_NPM_PROJECT_PATH: .
2021
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/release-go-task/Taskfile.yml
@@ -413,6 +414,7 @@ tasks:
413414
-r "{{.STYLELINTRC_SCHEMA_PATH}}" \
414415
-d "{{.INSTANCE_PATH}}"
415416
417+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml
416418
poetry:install:
417419
desc: Install Poetry
418420
run: once
@@ -458,6 +460,7 @@ tasks:
458460
poetry install \
459461
{{if .POETRY_GROUPS}} --only {{.POETRY_GROUPS}} {{end}}
460462
463+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-poetry-task/Taskfile.yml
461464
poetry:sync:
462465
desc: Sync poetry.lock
463466
deps:
@@ -467,6 +470,7 @@ tasks:
467470
poetry lock \
468471
--no-cache
469472
473+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-poetry-task/Taskfile.yml
470474
poetry:validate:
471475
desc: Validate pyproject.toml
472476
deps:

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry/pyproject.toml
2+
13
[tool.poetry]
24
package-mode = false
35

0 commit comments

Comments
 (0)