MIL-011 tasks 2 to 4: the default tools-ref is the current major
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Skipped
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Skipped
code-metrics.yml defaulted tools-ref to v1 and its guide said @v1, but the workflow and its scripts exist only from v2.1.0. The default of the five reusable workflows is now the current major, defined once in MAJOR_TAG, and tests/test_tools_ref.py fails when a default differs from it or names a tag without the script. Guides, README and wiki (en, da, ms) call code-metrics.yml at @v2; ADR-0005, 0008, 0009 and 0010 carry an amendment; RC-077 accepts the milestone's task 1 results. Task: MIL-011#2
This commit is contained in:
@@ -7,7 +7,7 @@ name: Code metrics
|
||||
# branches: [main]
|
||||
# jobs:
|
||||
# metrics:
|
||||
# uses: TirSystem/github-action/.gitea/workflows/code-metrics.yml@v1
|
||||
# uses: TirSystem/github-action/.gitea/workflows/code-metrics.yml@v2
|
||||
# permissions:
|
||||
# contents: write
|
||||
#
|
||||
@@ -51,7 +51,7 @@ on:
|
||||
tools-ref:
|
||||
description: "Tag or branch of TirSystem/github-action whose tools/ files are run; pin it to the exact tag together with the workflow"
|
||||
type: string
|
||||
default: "v1"
|
||||
default: "v2"
|
||||
|
||||
jobs:
|
||||
code-metrics:
|
||||
|
||||
@@ -31,7 +31,7 @@ on:
|
||||
tools-ref:
|
||||
description: "Tag or branch of TirSystem/github-action whose tools/publish_wiki.py is run; pin it to the exact tag together with the workflow"
|
||||
type: string
|
||||
default: "v1"
|
||||
default: "v2"
|
||||
secrets:
|
||||
TOKEN_FOR_GITEA_WIKI:
|
||||
description: "Gitea token with write access to the wiki of the calling repository"
|
||||
|
||||
@@ -36,7 +36,7 @@ on:
|
||||
tools-ref:
|
||||
description: "Tag or branch of TirSystem/github-action whose tools/quality-checks-cpp.sh is run; pin it to the exact tag together with the workflow"
|
||||
type: string
|
||||
default: "v1"
|
||||
default: "v2"
|
||||
|
||||
jobs:
|
||||
quality-checks-cpp:
|
||||
|
||||
@@ -27,7 +27,7 @@ on:
|
||||
tools-ref:
|
||||
description: "Tag or branch of TirSystem/github-action whose tools/quality-checks-csharp.sh is run; pin it to the exact tag together with the workflow"
|
||||
type: string
|
||||
default: "v1"
|
||||
default: "v2"
|
||||
|
||||
jobs:
|
||||
quality-checks-csharp:
|
||||
|
||||
@@ -38,7 +38,7 @@ on:
|
||||
tools-ref:
|
||||
description: "Tag or branch of TirSystem/github-action whose tools/quality-checks.sh is run; pin it to the exact tag together with the workflow"
|
||||
type: string
|
||||
default: "v1"
|
||||
default: "v2"
|
||||
|
||||
jobs:
|
||||
quality-checks:
|
||||
|
||||
Reference in New Issue
Block a user