Scoped wiki publishing (MIL-014) and rename to git-workflows (MIL-015) #219

Merged
Tirsvad merged 13 commits from mil-014-scoped-wiki-publishing into main 2026-10-27 16:34:30 +01:00
50 changed files with 114 additions and 114 deletions
Showing only changes of commit 6674e9ca08 - Show all commits
@@ -5,7 +5,7 @@ name: Publish wiki
# repository without one is skipped. It publishes the Markdown pages of # repository without one is skipped. It publishes the Markdown pages of
# docs/wiki to the wiki of the repository, creating and updating pages and # docs/wiki to the wiki of the repository, creating and updating pages and
# keeping the pages that are not in the folder. The script is a file of # keeping the pages that are not in the folder. The script is a file of
# TirSystem/github-action (tools/publish_wiki.py), fetched at v2. # TirSystem/git-workflows (tools/publish_wiki.py), fetched at v2.
on: on:
push: push:
branches: [ main ] branches: [ main ]
@@ -37,7 +37,7 @@ jobs:
if: steps.source.outputs.found == 'true' if: steps.source.outputs.found == 'true'
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: v2 ref: v2
path: shared-scripts path: shared-scripts
@@ -1,7 +1,7 @@
name: Sync GitHub mirror metadata name: Sync GitHub mirror metadata
# Scoped workflow: it runs in every repository of an organization. The script # Scoped workflow: it runs in every repository of an organization. The script
# is a file of TirSystem/github-action (tools/sync_github_metadata.py), fetched # is a file of TirSystem/git-workflows (tools/sync_github_metadata.py), fetched
# with a checkout so that it is readable, lintable and tested as a file # with a checkout so that it is readable, lintable and tested as a file
# (MIL-004 task 6). The repository is public, so no token is needed. # (MIL-004 task 6). The repository is public, so no token is needed.
on: on:
@@ -21,7 +21,7 @@ jobs:
- name: Fetch the shared script - name: Fetch the shared script
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: v1 ref: v1
path: shared-scripts path: shared-scripts
+3 -3
View File
@@ -7,7 +7,7 @@ name: Code metrics
# branches: [main] # branches: [main]
# jobs: # jobs:
# metrics: # metrics:
# uses: TirSystem/github-action/.gitea/workflows/code-metrics.yml@v2 # uses: TirSystem/git-workflows/.gitea/workflows/code-metrics.yml@v2
# permissions: # permissions:
# contents: write # contents: write
# #
@@ -49,7 +49,7 @@ on:
type: string type: string
default: "badges" default: "badges"
tools-ref: 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" description: "Tag or branch of TirSystem/git-workflows whose tools/ files are run; pin it to the exact tag together with the workflow"
type: string type: string
default: "v2" default: "v2"
@@ -74,7 +74,7 @@ jobs:
- name: Fetch the shared scripts - name: Fetch the shared scripts
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: ${{ inputs.tools-ref }} ref: ${{ inputs.tools-ref }}
path: shared-scripts path: shared-scripts
+3 -3
View File
@@ -7,7 +7,7 @@ name: English comments
# pull_request: # pull_request:
# jobs: # jobs:
# english-comments: # english-comments:
# uses: TirSystem/github-action/.gitea/workflows/english-comments.yml@v2 # uses: TirSystem/git-workflows/.gitea/workflows/english-comments.yml@v2
# #
# It reads the comments and docstrings that the pull request adds, judges their # It reads the comments and docstrings that the pull request adds, judges their
# language, fails the run when one is not English and writes one comment on the # language, fails the run when one is not English and writes one comment on the
@@ -46,7 +46,7 @@ on:
type: string type: string
default: "2.1.3" default: "2.1.3"
tools-ref: tools-ref:
description: "Tag or branch of TirSystem/github-action whose tools/english_comments.py is run; pin it to the exact tag together with the workflow" description: "Tag or branch of TirSystem/git-workflows whose tools/english_comments.py is run; pin it to the exact tag together with the workflow"
type: string type: string
default: "v2" default: "v2"
secrets: secrets:
@@ -81,7 +81,7 @@ jobs:
- name: Fetch the shared scripts - name: Fetch the shared scripts
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: ${{ inputs.tools-ref }} ref: ${{ inputs.tools-ref }}
path: shared-scripts path: shared-scripts
+3 -3
View File
@@ -4,7 +4,7 @@ name: Quality checks C++
# #
# jobs: # jobs:
# quality: # quality:
# uses: TirSystem/github-action/.gitea/workflows/quality-checks-cpp.yml@v1 # uses: TirSystem/git-workflows/.gitea/workflows/quality-checks-cpp.yml@v1
# #
# It checks the C and C++ files of the repository with clang-format and # It checks the C and C++ files of the repository with clang-format and
# clang-tidy at exact versions, changes no file and needs no secret. The # clang-tidy at exact versions, changes no file and needs no secret. The
@@ -34,7 +34,7 @@ on:
type: string type: string
default: "22.1.8" default: "22.1.8"
tools-ref: 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" description: "Tag or branch of TirSystem/git-workflows whose tools/quality-checks-cpp.sh is run; pin it to the exact tag together with the workflow"
type: string type: string
default: "v2" default: "v2"
@@ -58,7 +58,7 @@ jobs:
- name: Fetch the shared script - name: Fetch the shared script
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: ${{ inputs.tools-ref }} ref: ${{ inputs.tools-ref }}
path: shared-scripts path: shared-scripts
+3 -3
View File
@@ -4,7 +4,7 @@ name: Quality checks C#
# #
# jobs: # jobs:
# quality: # quality:
# uses: TirSystem/github-action/.gitea/workflows/quality-checks-csharp.yml@v1 # uses: TirSystem/git-workflows/.gitea/workflows/quality-checks-csharp.yml@v1
# #
# It checks the C# solution or project of the repository with `dotnet format` # It checks the C# solution or project of the repository with `dotnet format`
# and `dotnet build` (warnings as errors) on an exact .NET SDK 10 or later, # and `dotnet build` (warnings as errors) on an exact .NET SDK 10 or later,
@@ -25,7 +25,7 @@ on:
type: string type: string
default: "10.0.401" default: "10.0.401"
tools-ref: 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" description: "Tag or branch of TirSystem/git-workflows whose tools/quality-checks-csharp.sh is run; pin it to the exact tag together with the workflow"
type: string type: string
default: "v2" default: "v2"
@@ -47,7 +47,7 @@ jobs:
- name: Fetch the shared script - name: Fetch the shared script
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: ${{ inputs.tools-ref }} ref: ${{ inputs.tools-ref }}
path: shared-scripts path: shared-scripts
+3 -3
View File
@@ -4,7 +4,7 @@ name: Quality checks
# #
# jobs: # jobs:
# quality: # quality:
# uses: TirSystem/github-action/.gitea/workflows/quality-checks.yml@v1 # uses: TirSystem/git-workflows/.gitea/workflows/quality-checks.yml@v1
# #
# It checks the Python and shell files of the repository with pinned tools, # It checks the Python and shell files of the repository with pinned tools,
# changes no file and needs no secret. # changes no file and needs no secret.
@@ -36,7 +36,7 @@ on:
type: string type: string
default: "3.11.0.2" default: "3.11.0.2"
tools-ref: 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" description: "Tag or branch of TirSystem/git-workflows whose tools/quality-checks.sh is run; pin it to the exact tag together with the workflow"
type: string type: string
default: "v2" default: "v2"
@@ -61,7 +61,7 @@ jobs:
- name: Fetch the shared script - name: Fetch the shared script
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
with: with:
repository: TirSystem/github-action repository: TirSystem/git-workflows
ref: ${{ inputs.tools-ref }} ref: ${{ inputs.tools-ref }}
path: shared-scripts path: shared-scripts
+4 -4
View File
@@ -87,7 +87,7 @@ to be open.
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `TirSystem/SQA-QC-Checklists` | the QC checklists (`qc/artifacts/`, `qc/code/`) | `sqa-qc-framework` | a commit, pinned as the `qc/` submodule | | `TirSystem/SQA-QC-Checklists` | the QC checklists (`qc/artifacts/`, `qc/code/`) | `sqa-qc-framework` | a commit, pinned as the `qc/` submodule |
| `TirSystem/sqa-qc-framework` | the skills, process documents, catalog, templates (`templates/ci/`) and scripts | every project, as the `framework/` submodule | a release tag (`v0.5.2`, ...) | | `TirSystem/sqa-qc-framework` | the skills, process documents, catalog, templates (`templates/ci/`) and scripts | every project, as the `framework/` submodule | a release tag (`v0.5.2`, ...) |
| `TirSystem/github-action` | the shared workflows (`quality-checks`, `release`), the scoped workflows (`publish-wiki`, `sync-github-metadata`) and the scripts they call (`tools/`) | every repository of the organisation, by `uses:` and `ref:` | a release tag and a moving major tag (`v1`), made by its release workflow | | `TirSystem/git-workflows` | the shared workflows (`quality-checks`, `release`), the scoped workflows (`publish-wiki`, `sync-github-metadata`) and the scripts they call (`tools/`) | every repository of the organisation, by `uses:` and `ref:` | a release tag and a moving major tag (`v1`), made by its release workflow |
| `TirSystem/sqa-and-qc` | the SQA and AI project management: project artifacts, review records, the traceability matrix | itself | the pull request that merges it | | `TirSystem/sqa-and-qc` | the SQA and AI project management: project artifacts, review records, the traceability matrix | itself | the pull request that merges it |
Where a thing lives: Where a thing lives:
@@ -96,10 +96,10 @@ Where a thing lives:
reaches this project by moving the pin. The review record of a checklist is reaches this project by moving the pin. The review record of a checklist is
written in the project that reviews it (`docs/sqa/reviews/`), not in the written in the project that reviews it (`docs/sqa/reviews/`), not in the
checklist repository. checklist repository.
- A workflow that other repositories call is changed in `github-action` and - A workflow that other repositories call is changed in `git-workflows` and
released there. A workflow a project copies from `templates/ci/` is changed released there. A workflow a project copies from `templates/ci/` is changed
in the framework; the project updates its copy after the pin moves. in the framework; the project updates its copy after the pin moves.
- A script a workflow needs is a file (`tools/` of `github-action`, or - A script a workflow needs is a file (`tools/` of `git-workflows`, or
`scripts/` of the framework for the templates), never a long `run:` block `scripts/` of the framework for the templates), never a long `run:` block
(`QC-WF-001` criterion 20). (`QC-WF-001` criterion 20).
- The workflows under `.gitea/workflows/` are this project's own copies of - The workflows under `.gitea/workflows/` are this project's own copies of
@@ -108,7 +108,7 @@ Where a thing lives:
A change that spans repositories: A change that spans repositories:
1. One pull request per repository, in dependency order: checklists, then 1. One pull request per repository, in dependency order: checklists, then
framework, then `github-action` and the projects. A pull request names the framework, then `git-workflows` and the projects. A pull request names the
ones it depends on in its description. ones it depends on in its description.
2. A downstream repository moves a pin only to a merged commit or tag of the 2. A downstream repository moves a pin only to a merged commit or tag of the
upstream, never to an unmerged branch. upstream, never to an unmerged branch.
+2 -2
View File
@@ -1,4 +1,4 @@
<!-- translation of Capabilities.md, source sha256 a88297d313fa --> <!-- translation of Capabilities.md, source sha256 2f30825f19a1 -->
> Dette er en oversættelse af [`Capabilities`](Capabilities). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`Capabilities`](Capabilities). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
@@ -6,7 +6,7 @@
## Funktionalitet ## Funktionalitet
Rækker, der siger Implementeret eller Vejledninger er skrevet, findes i dag. Resten er planlagt og følges i [projektplanen](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/docs/project-plan.md), som også beskriver hver enkelt use case. Rækker, der siger Implementeret eller Vejledninger er skrevet, findes i dag. Resten er planlagt og følges i [projektplanen](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/docs/project-plan.md), som også beskriver hver enkelt use case.
| Funktionalitet | Status | | Funktionalitet | Status |
| --- | --- | | --- | --- |
+2 -2
View File
@@ -1,12 +1,12 @@
<!-- Generated from README.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from README.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`README.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/README.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`README.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/README.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](Capabilities.da) | [Bahasa Melayu](Capabilities.ms) English | [Dansk](Capabilities.da) | [Bahasa Melayu](Capabilities.ms)
## Capabilities ## Capabilities
Rows that say Implemented or Guides written exist today. The rest is planned and tracked in the [Project Plan](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/docs/project-plan.md), which also describes each use case. Rows that say Implemented or Guides written exist today. The rest is planned and tracked in the [Project Plan](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/docs/project-plan.md), which also describes each use case.
| Capability | Status | | Capability | Status |
| --- | --- | | --- | --- |
+2 -2
View File
@@ -1,4 +1,4 @@
<!-- translation of Capabilities.md, source sha256 a88297d313fa --> <!-- translation of Capabilities.md, source sha256 2f30825f19a1 -->
> Ini ialah terjemahan [`Capabilities`](Capabilities). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`Capabilities`](Capabilities). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
@@ -6,7 +6,7 @@
## Keupayaan ## Keupayaan
Baris yang menyatakan Dilaksanakan atau Panduan telah ditulis wujud hari ini. Selebihnya dirancang dan dijejaki dalam [Pelan Projek](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/docs/project-plan.md), yang juga menerangkan setiap kes guna (use case). Baris yang menyatakan Dilaksanakan atau Panduan telah ditulis wujud hari ini. Selebihnya dirancang dan dijejaki dalam [Pelan Projek](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/docs/project-plan.md), yang juga menerangkan setiap kes guna (use case).
| Keupayaan | Status | | Keupayaan | Status |
| --- | --- | | --- | --- |
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of CodeMetrics.md, source sha256 03134e97a78a --> <!-- translation of CodeMetrics.md, source sha256 f5bd05223699 -->
> Dette er en oversættelse af [`CodeMetrics`](CodeMetrics). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`CodeMetrics`](CodeMetrics). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/code-metrics.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/code-metrics.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/code-metrics.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/code-metrics.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/code-metrics.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/code-metrics.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](CodeMetrics.da) | [Bahasa Melayu](CodeMetrics.ms) English | [Dansk](CodeMetrics.da) | [Bahasa Melayu](CodeMetrics.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of CodeMetrics.md, source sha256 03134e97a78a --> <!-- translation of CodeMetrics.md, source sha256 f5bd05223699 -->
> Ini ialah terjemahan [`CodeMetrics`](CodeMetrics). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`CodeMetrics`](CodeMetrics). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of Credentials.md, source sha256 8b4275aaa089 --> <!-- translation of Credentials.md, source sha256 0e3225fcefe0 -->
> Dette er en oversættelse af [`Credentials`](Credentials). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`Credentials`](Credentials). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/credentials.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/credentials.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/credentials.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/credentials.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/credentials.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/credentials.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](Credentials.da) | [Bahasa Melayu](Credentials.ms) English | [Dansk](Credentials.da) | [Bahasa Melayu](Credentials.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of Credentials.md, source sha256 8b4275aaa089 --> <!-- translation of Credentials.md, source sha256 0e3225fcefe0 -->
> Ini ialah terjemahan [`Credentials`](Credentials). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`Credentials`](Credentials). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of EnglishComments.md, source sha256 9dafcabbc807 --> <!-- translation of EnglishComments.md, source sha256 41005bb2c7f4 -->
> Dette er en oversættelse af [`EnglishComments`](EnglishComments). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`EnglishComments`](EnglishComments). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/english-comments.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/english-comments.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/english-comments.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/english-comments.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/english-comments.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/english-comments.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](EnglishComments.da) | [Bahasa Melayu](EnglishComments.ms) English | [Dansk](EnglishComments.da) | [Bahasa Melayu](EnglishComments.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of EnglishComments.md, source sha256 9dafcabbc807 --> <!-- translation of EnglishComments.md, source sha256 41005bb2c7f4 -->
> Ini ialah terjemahan [`EnglishComments`](EnglishComments). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`EnglishComments`](EnglishComments). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+13 -13
View File
@@ -1,4 +1,4 @@
<!-- translation of Home.md, source sha256 05ab44419575 --> <!-- translation of Home.md, source sha256 b6fa55df68b6 -->
> Dette er en oversættelse af [`Home`](Home). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`Home`](Home). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
@@ -22,16 +22,16 @@ Der er ti workflows i dette repository. Et **scoped** workflow leveres af instan
| Workflow | Fil | Type | Starter ved | Formål | | Workflow | Fil | Type | Starter ved | Formål |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| Sync GitHub mirror metadata | [`sync-github-metadata.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/scoped_workflows/sync-github-metadata.yml) | Scoped | push til `main`, manuelt, dagligt kl. 03:17 UTC | Kopierer beskrivelsen og emnerne for et Gitea-repository til dets GitHub push-spejl | | Sync GitHub mirror metadata | [`sync-github-metadata.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/scoped_workflows/sync-github-metadata.yml) | Scoped | push til `main`, manuelt, dagligt kl. 03:17 UTC | Kopierer beskrivelsen og emnerne for et Gitea-repository til dets GitHub push-spejl |
| Publish wiki pages | [`publish-wiki-pages.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/scoped_workflows/publish-wiki-pages.yml) | Scoped | push til `main`, der ændrer `docs/wiki/**`, manuelt | Publicerer siderne i `docs/wiki/` til repositoryets wiki; springes over, hvor mappen ikke findes | | Publish wiki pages | [`publish-wiki-pages.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/scoped_workflows/publish-wiki-pages.yml) | Scoped | push til `main`, der ændrer `docs/wiki/**`, manuelt | Publicerer siderne i `docs/wiki/` til repositoryets wiki; springes over, hvor mappen ikke findes |
| Quality checks | [`quality-checks.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Kører ruff, mypy, shellcheck og shfmt på de sporede filer og ændrer intet | | Quality checks | [`quality-checks.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Kører ruff, mypy, shellcheck og shfmt på de sporede filer og ændrer intet |
| Quality checks C++ | [`quality-checks-cpp.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks-cpp.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Kører clang-format og clang-tidy i præcise versioner på de sporede C- og C++-filer og ændrer intet | | Quality checks C++ | [`quality-checks-cpp.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks-cpp.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Kører clang-format og clang-tidy i præcise versioner på de sporede C- og C++-filer og ændrer intet |
| Quality checks C# | [`quality-checks-csharp.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks-csharp.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Kører `dotnet format` og `dotnet build` på et præcist .NET SDK 10 eller nyere og ændrer intet | | Quality checks C# | [`quality-checks-csharp.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks-csharp.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Kører `dotnet format` og `dotnet build` på et præcist .NET SDK 10 eller nyere og ændrer intet |
| Code metrics | [`code-metrics.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/code-metrics.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Tæller kodefilerne og kodelinjerne (uden kommentar- og tomme linjer), læser en Cobertura-dækningsrapport og committer tre SVG-badges til en `badges`-gren | | Code metrics | [`code-metrics.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/code-metrics.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository | Tæller kodefilerne og kodelinjerne (uden kommentar- og tomme linjer), læser en Cobertura-dækningsrapport og committer tre SVG-badges til en `badges`-gren |
| English comments | [`english-comments.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/english-comments.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository, på en pull request | Bedømmer sproget i de kommentarer og docstrings, en pull request tilføjer, lader kørslen fejle, når én ikke er engelsk, og skriver én kommentar på pull requesten, der nævner forfatteren | | English comments | [`english-comments.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/english-comments.yml) | Genbrugeligt (`workflow_call`) | et kald fra et andet repository, på en pull request | Bedømmer sproget i de kommentarer og docstrings, en pull request tilføjer, lader kørslen fejle, når én ikke er engelsk, og skriver én kommentar på pull requesten, der nævner forfatteren |
| Release | [`release.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/release.yml) | Kun dette repository | manuelt | Opretter versionstagget, udgivelsessiden og major-tagget efter kontrollerne | | Release | [`release.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/release.yml) | Kun dette repository | manuelt | Opretter versionstagget, udgivelsessiden og major-tagget efter kontrollerne |
| Publicering af accepterede milepæle | [`sync-milestones.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/sync-milestones.yml) | Kun dette repository | push til `main`, der ændrer `docs/milestones/**` eller `docs/sqa/reviews/**`, manuelt (tørkørsel som standard) | Opretter eller opdaterer Gitea-milepælen og issues for hver milepæl, der er Accepted med en Go-gennemgang | | Publicering af accepterede milepæle | [`sync-milestones.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/sync-milestones.yml) | Kun dette repository | push til `main`, der ændrer `docs/milestones/**` eller `docs/sqa/reviews/**`, manuelt (tørkørsel som standard) | Opretter eller opdaterer Gitea-milepælen og issues for hver milepæl, der er Accepted med en Go-gennemgang |
| Validate workflows | [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/validate-workflows.yml) | Kun dette repository | pull request, push til `main`, manuelt | Læser hvert workflow som YAML og kører offline-testene | | Validate workflows | [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/validate-workflows.yml) | Kun dette repository | pull request, push til `main`, manuelt | Læser hvert workflow som YAML og kører offline-testene |
### Synkronisering af GitHub-metadata ### Synkronisering af GitHub-metadata
@@ -321,7 +321,7 @@ deactivate Workflow
### Udgivelse ### Udgivelse
Startes manuelt af en vedligeholder; med `dry_run` `true` (standard) kontrollerer det kun (se [udgivelsesprocessen](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/release-process.md)). Startes manuelt af en vedligeholder; med `dry_run` `true` (standard) kontrollerer det kun (se [udgivelsesprocessen](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/release-process.md)).
#### Workflow #### Workflow
@@ -530,6 +530,6 @@ python -m coverage run -m pytest -q tests
python -m coverage report python -m coverage report
``` ```
De samme kontroller kører ved hver pull request og hvert push til `main` gennem [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/validate-workflows.yml). De parser alle workflows som YAML, kontrollerer at ingen indlejrer Python, kompilerer scripts i `tools/`, kræver eksplicitte jobtilladelser og tester parsing af credentials, parsing af push-spejlets adresse og synkroniserings- og publiceringsforløbene mod et falsk API. Kørslen fejler, når linje- og forgreningsdækningen af `tools/` er under 95 % (`.coveragerc`). De samme kontroller kører ved hver pull request og hvert push til `main` gennem [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/validate-workflows.yml). De parser alle workflows som YAML, kontrollerer at ingen indlejrer Python, kompilerer scripts i `tools/`, kræver eksplicitte jobtilladelser og tester parsing af credentials, parsing af push-spejlets adresse og synkroniserings- og publiceringsforløbene mod et falsk API. Kørslen fejler, når linje- og forgreningsdækningen af `tools/` er under 95 % (`.coveragerc`).
Efter en ændring af synkroniseringsworkflowet skal du også starte **Sync GitHub mirror metadata** manuelt i Gitea og sammenligne beskrivelsen og emnerne på GitHub-spejlet. Efter en ændring af synkroniseringsworkflowet skal du også starte **Sync GitHub mirror metadata** manuelt i Gitea og sammenligne beskrivelsen og emnerne på GitHub-spejlet.
+13 -13
View File
@@ -1,6 +1,6 @@
<!-- Generated from README.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from README.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`README.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/README.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`README.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/README.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](Home.da) | [Bahasa Melayu](Home.ms) English | [Dansk](Home.da) | [Bahasa Melayu](Home.ms)
@@ -22,16 +22,16 @@ Ten workflows live in this repository. A **scoped** workflow is delivered by the
| Workflow | File | Kind | Starts on | Purpose | | Workflow | File | Kind | Starts on | Purpose |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| Sync GitHub mirror metadata | [`sync-github-metadata.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/scoped_workflows/sync-github-metadata.yml) | Scoped | push to `main`, manual, daily 03:17 UTC | Copies the description and topics of a Gitea repository to its GitHub push mirror | | Sync GitHub mirror metadata | [`sync-github-metadata.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/scoped_workflows/sync-github-metadata.yml) | Scoped | push to `main`, manual, daily 03:17 UTC | Copies the description and topics of a Gitea repository to its GitHub push mirror |
| Publish wiki pages | [`publish-wiki-pages.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/scoped_workflows/publish-wiki-pages.yml) | Scoped | push to `main` that changes `docs/wiki/**`, manual | Publishes the pages in `docs/wiki/` to the wiki of the repository; skipped where the folder does not exist | | Publish wiki pages | [`publish-wiki-pages.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/scoped_workflows/publish-wiki-pages.yml) | Scoped | push to `main` that changes `docs/wiki/**`, manual | Publishes the pages in `docs/wiki/` to the wiki of the repository; skipped where the folder does not exist |
| Quality checks | [`quality-checks.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks.yml) | Reusable (`workflow_call`) | a call from another repository | Runs ruff, mypy, shellcheck and shfmt on the tracked files and changes nothing | | Quality checks | [`quality-checks.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks.yml) | Reusable (`workflow_call`) | a call from another repository | Runs ruff, mypy, shellcheck and shfmt on the tracked files and changes nothing |
| Quality checks C++ | [`quality-checks-cpp.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks-cpp.yml) | Reusable (`workflow_call`) | a call from another repository | Runs clang-format and clang-tidy at exact versions on the tracked C and C++ files and changes nothing | | Quality checks C++ | [`quality-checks-cpp.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks-cpp.yml) | Reusable (`workflow_call`) | a call from another repository | Runs clang-format and clang-tidy at exact versions on the tracked C and C++ files and changes nothing |
| Quality checks C# | [`quality-checks-csharp.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks-csharp.yml) | Reusable (`workflow_call`) | a call from another repository | Runs `dotnet format` and `dotnet build` on an exact .NET SDK 10 or later and changes nothing | | Quality checks C# | [`quality-checks-csharp.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks-csharp.yml) | Reusable (`workflow_call`) | a call from another repository | Runs `dotnet format` and `dotnet build` on an exact .NET SDK 10 or later and changes nothing |
| Code metrics | [`code-metrics.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/code-metrics.yml) | Reusable (`workflow_call`) | a call from another repository | Counts the code files and the lines of code (without comment and blank lines), reads a Cobertura coverage report and commits three SVG badges to a `badges` branch | | Code metrics | [`code-metrics.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/code-metrics.yml) | Reusable (`workflow_call`) | a call from another repository | Counts the code files and the lines of code (without comment and blank lines), reads a Cobertura coverage report and commits three SVG badges to a `badges` branch |
| English comments | [`english-comments.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/english-comments.yml) | Reusable (`workflow_call`) | a call from another repository, on a pull request | Judges the language of the comments and docstrings a pull request adds, fails the run when one is not English and writes one comment on the pull request that mentions the author | | English comments | [`english-comments.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/english-comments.yml) | Reusable (`workflow_call`) | a call from another repository, on a pull request | Judges the language of the comments and docstrings a pull request adds, fails the run when one is not English and writes one comment on the pull request that mentions the author |
| Release | [`release.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/release.yml) | This repository only | manual | Creates the version tag, the release page and the major tag after the checks | | Release | [`release.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/release.yml) | This repository only | manual | Creates the version tag, the release page and the major tag after the checks |
| Publish accepted milestones | [`sync-milestones.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/sync-milestones.yml) | This repository only | push to `main` that changes `docs/milestones/**` or `docs/sqa/reviews/**`, manual (dry run by default) | Creates or updates the Gitea milestone and issues of every milestone that is Accepted with a Go review | | Publish accepted milestones | [`sync-milestones.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/sync-milestones.yml) | This repository only | push to `main` that changes `docs/milestones/**` or `docs/sqa/reviews/**`, manual (dry run by default) | Creates or updates the Gitea milestone and issues of every milestone that is Accepted with a Go review |
| Validate workflows | [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/validate-workflows.yml) | This repository only | pull request, push to `main`, manual | Parses every workflow and runs the offline tests | | Validate workflows | [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/validate-workflows.yml) | This repository only | pull request, push to `main`, manual | Parses every workflow and runs the offline tests |
### Sync GitHub metadata ### Sync GitHub metadata
@@ -321,7 +321,7 @@ deactivate Workflow
### Release ### Release
Started by hand by a maintainer; with `dry_run` `true` (the default) it only checks (see the [release process](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/release-process.md)). Started by hand by a maintainer; with `dry_run` `true` (the default) it only checks (see the [release process](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/release-process.md)).
#### Workflow #### Workflow
@@ -534,6 +534,6 @@ python -m coverage run -m pytest -q tests
python -m coverage report python -m coverage report
``` ```
The same checks run on every pull request and push to `main` through [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/validate-workflows.yml). They parse every workflow as YAML, check that none embeds Python, compile the scripts in `tools/`, require explicit job permissions, and test credential parsing, push mirror address parsing and the sync and publish flows against a fake API. The run fails when the line and branch coverage of `tools/` falls below 95% (`.coveragerc`). The same checks run on every pull request and push to `main` through [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/validate-workflows.yml). They parse every workflow as YAML, check that none embeds Python, compile the scripts in `tools/`, require explicit job permissions, and test credential parsing, push mirror address parsing and the sync and publish flows against a fake API. The run fails when the line and branch coverage of `tools/` falls below 95% (`.coveragerc`).
After a change to the sync workflow, also trigger **Sync GitHub mirror metadata** manually in Gitea and compare the description and topics on the GitHub mirror. After a change to the sync workflow, also trigger **Sync GitHub mirror metadata** manually in Gitea and compare the description and topics on the GitHub mirror.
+13 -13
View File
@@ -1,4 +1,4 @@
<!-- translation of Home.md, source sha256 05ab44419575 --> <!-- translation of Home.md, source sha256 b6fa55df68b6 -->
> Ini ialah terjemahan [`Home`](Home). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`Home`](Home). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
@@ -22,16 +22,16 @@ Terdapat sepuluh aliran kerja dalam repositori ini. Aliran kerja **scoped** diha
| Aliran kerja | Fail | Jenis | Bermula apabila | Tujuan | | Aliran kerja | Fail | Jenis | Bermula apabila | Tujuan |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| Sync GitHub mirror metadata | [`sync-github-metadata.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/scoped_workflows/sync-github-metadata.yml) | Scoped | push ke `main`, manual, setiap hari 03:17 UTC | Menyalin penerangan dan topik repositori Gitea ke push mirror GitHub-nya | | Sync GitHub mirror metadata | [`sync-github-metadata.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/scoped_workflows/sync-github-metadata.yml) | Scoped | push ke `main`, manual, setiap hari 03:17 UTC | Menyalin penerangan dan topik repositori Gitea ke push mirror GitHub-nya |
| Publish wiki pages | [`publish-wiki-pages.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/scoped_workflows/publish-wiki-pages.yml) | Scoped | push ke `main` yang mengubah `docs/wiki/**`, manual | Menerbitkan halaman dalam `docs/wiki/` ke wiki repositori; dilangkau jika folder itu tiada | | Publish wiki pages | [`publish-wiki-pages.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/scoped_workflows/publish-wiki-pages.yml) | Scoped | push ke `main` yang mengubah `docs/wiki/**`, manual | Menerbitkan halaman dalam `docs/wiki/` ke wiki repositori; dilangkau jika folder itu tiada |
| Quality checks | [`quality-checks.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Menjalankan ruff, mypy, shellcheck dan shfmt pada fail yang dijejaki dan tidak mengubah apa-apa | | Quality checks | [`quality-checks.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Menjalankan ruff, mypy, shellcheck dan shfmt pada fail yang dijejaki dan tidak mengubah apa-apa |
| Quality checks C++ | [`quality-checks-cpp.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks-cpp.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Menjalankan clang-format dan clang-tidy pada versi tepat pada fail C dan C++ yang dijejaki dan tidak mengubah apa-apa | | Quality checks C++ | [`quality-checks-cpp.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks-cpp.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Menjalankan clang-format dan clang-tidy pada versi tepat pada fail C dan C++ yang dijejaki dan tidak mengubah apa-apa |
| Quality checks C# | [`quality-checks-csharp.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/quality-checks-csharp.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Menjalankan `dotnet format` dan `dotnet build` pada .NET SDK 10 atau lebih baharu yang tepat dan tidak mengubah apa-apa | | Quality checks C# | [`quality-checks-csharp.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/quality-checks-csharp.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Menjalankan `dotnet format` dan `dotnet build` pada .NET SDK 10 atau lebih baharu yang tepat dan tidak mengubah apa-apa |
| Code metrics | [`code-metrics.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/code-metrics.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Mengira fail kod dan baris kod (tanpa baris komen dan baris kosong), membaca laporan liputan Cobertura dan melakukan commit tiga lencana SVG ke cabang `badges` | | Code metrics | [`code-metrics.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/code-metrics.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain | Mengira fail kod dan baris kod (tanpa baris komen dan baris kosong), membaca laporan liputan Cobertura dan melakukan commit tiga lencana SVG ke cabang `badges` |
| English comments | [`english-comments.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/english-comments.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain, pada pull request | Menilai bahasa komen dan docstring yang ditambah oleh pull request, menggagalkan larian apabila ada yang bukan bahasa Inggeris dan menulis satu komen pada pull request yang menyebut penulisnya | | English comments | [`english-comments.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/english-comments.yml) | Boleh guna semula (`workflow_call`) | panggilan daripada repositori lain, pada pull request | Menilai bahasa komen dan docstring yang ditambah oleh pull request, menggagalkan larian apabila ada yang bukan bahasa Inggeris dan menulis satu komen pada pull request yang menyebut penulisnya |
| Release | [`release.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/release.yml) | Repositori ini sahaja | manual | Mencipta tag versi, halaman keluaran dan tag major selepas semakan | | Release | [`release.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/release.yml) | Repositori ini sahaja | manual | Mencipta tag versi, halaman keluaran dan tag major selepas semakan |
| Menerbitkan milestone yang diterima | [`sync-milestones.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/sync-milestones.yml) | Repositori ini sahaja | push ke `main` yang mengubah `docs/milestones/**` atau `docs/sqa/reviews/**`, manual (larian percubaan secara lalai) | Mencipta atau mengemas kini milestone Gitea dan isu bagi setiap milestone yang Accepted dengan semakan Go | | Menerbitkan milestone yang diterima | [`sync-milestones.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/sync-milestones.yml) | Repositori ini sahaja | push ke `main` yang mengubah `docs/milestones/**` atau `docs/sqa/reviews/**`, manual (larian percubaan secara lalai) | Mencipta atau mengemas kini milestone Gitea dan isu bagi setiap milestone yang Accepted dengan semakan Go |
| Validate workflows | [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/validate-workflows.yml) | Repositori ini sahaja | pull request, push ke `main`, manual | Menghurai setiap aliran kerja sebagai YAML dan menjalankan ujian luar talian | | Validate workflows | [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/validate-workflows.yml) | Repositori ini sahaja | pull request, push ke `main`, manual | Menghurai setiap aliran kerja sebagai YAML dan menjalankan ujian luar talian |
### Menyegerakkan metadata GitHub ### Menyegerakkan metadata GitHub
@@ -321,7 +321,7 @@ deactivate Workflow
### Keluaran ### Keluaran
Dimulakan secara manual oleh penyelenggara; dengan `dry_run` `true` (lalai) ia hanya menyemak (lihat [proses keluaran](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/release-process.md)). Dimulakan secara manual oleh penyelenggara; dengan `dry_run` `true` (lalai) ia hanya menyemak (lihat [proses keluaran](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/release-process.md)).
#### Aliran kerja #### Aliran kerja
@@ -530,6 +530,6 @@ python -m coverage run -m pytest -q tests
python -m coverage report python -m coverage report
``` ```
Semakan yang sama dijalankan pada setiap pull request dan setiap push ke `main` melalui [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/.gitea/workflows/validate-workflows.yml). Semakan itu menghurai setiap aliran kerja sebagai YAML, memastikan tiada yang menanam Python, mengkompil skrip dalam `tools/`, memerlukan kebenaran kerja yang jelas, dan menguji penghuraian kelayakan (credentials), penghuraian alamat push mirror serta aliran penyegerakan dan penerbitan terhadap API palsu. Larian gagal apabila liputan baris dan cabang `tools/` di bawah 95% (`.coveragerc`). Semakan yang sama dijalankan pada setiap pull request dan setiap push ke `main` melalui [`validate-workflows.yml`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/.gitea/workflows/validate-workflows.yml). Semakan itu menghurai setiap aliran kerja sebagai YAML, memastikan tiada yang menanam Python, mengkompil skrip dalam `tools/`, memerlukan kebenaran kerja yang jelas, dan menguji penghuraian kelayakan (credentials), penghuraian alamat push mirror serta aliran penyegerakan dan penerbitan terhadap API palsu. Larian gagal apabila liputan baris dan cabang `tools/` di bawah 95% (`.coveragerc`).
Selepas perubahan pada aliran kerja penyegerakan, cetuskan juga **Sync GitHub mirror metadata** secara manual dalam Gitea dan bandingkan penerangan dan topik pada cermin GitHub. Selepas perubahan pada aliran kerja penyegerakan, cetuskan juga **Sync GitHub mirror metadata** secara manual dalam Gitea dan bandingkan penerangan dan topik pada cermin GitHub.
+2 -2
View File
@@ -1,4 +1,4 @@
<!-- translation of Onboarding.md, source sha256 80ee274b3ae9 --> <!-- translation of Onboarding.md, source sha256 1073637428ce -->
> Dette er en oversættelse af [`Onboarding`](Onboarding). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`Onboarding`](Onboarding). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
@@ -6,7 +6,7 @@
# Tilslutning af et repository # Tilslutning af et repository
Sådan får en DevOps-professionel et TirSystem-repository til at bruge det fælles workflow **Sync GitHub mirror metadata**, og hvilke runners det kræver. Kun dette workflow findes i dag; workflows til kvalitetskontrol og udgivelse er planlagt (se [projektplanen](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/docs/project-plan.md)). Sådan får en DevOps-professionel et TirSystem-repository til at bruge det fælles workflow **Sync GitHub mirror metadata**, og hvilke runners det kræver. Kun dette workflow findes i dag; workflows til kvalitetskontrol og udgivelse er planlagt (se [projektplanen](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/docs/project-plan.md)).
## Hvad er verificeret ## Hvad er verificeret
+3 -3
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/onboarding.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/onboarding.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/onboarding.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/onboarding.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/onboarding.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/onboarding.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](Onboarding.da) | [Bahasa Melayu](Onboarding.ms) English | [Dansk](Onboarding.da) | [Bahasa Melayu](Onboarding.ms)
@@ -9,7 +9,7 @@ English | [Dansk](Onboarding.da) | [Bahasa Melayu](Onboarding.ms)
How a DevOps professional makes a TirSystem repository use the shared How a DevOps professional makes a TirSystem repository use the shared
**Sync GitHub mirror metadata** workflow, and which runners it needs. Only **Sync GitHub mirror metadata** workflow, and which runners it needs. Only
this workflow exists today; the quality-check and release workflows are this workflow exists today; the quality-check and release workflows are
planned (see the [Project Plan](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/docs/project-plan.md)). planned (see the [Project Plan](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/docs/project-plan.md)).
## What has been verified ## What has been verified
@@ -61,7 +61,7 @@ The wiki has English and the product owner's language as a minimum.
1. Enable the wiki in the repository settings. 1. Enable the wiki in the repository settings.
2. Add Markdown pages to `docs/wiki/`. The file name is the page name: `Home.md` 2. Add Markdown pages to `docs/wiki/`. The file name is the page name: `Home.md`
is the home page. A hyphen in the name is a space in the page name: is the home page. A hyphen in the name is a space in the page name:
`Home-da.md` is the page "Home da", and a link to it is `[Dansk](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/Home-da)`. `Home-da.md` is the page "Home da", and a link to it is `[Dansk](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/Home-da)`.
3. Store `TOKEN_FOR_GITEA_WIKI` as a secret of the repository's organization, 3. Store `TOKEN_FOR_GITEA_WIKI` as a secret of the repository's organization,
using the scope in [credentials.md](Credentials). using the scope in [credentials.md](Credentials).
4. Merge the change to `main`. The log must end with `Published <n> page(s) to 4. Merge the change to `main`. The log must end with `Published <n> page(s) to
+2 -2
View File
@@ -1,4 +1,4 @@
<!-- translation of Onboarding.md, source sha256 80ee274b3ae9 --> <!-- translation of Onboarding.md, source sha256 1073637428ce -->
> Ini ialah terjemahan [`Onboarding`](Onboarding). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`Onboarding`](Onboarding). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
@@ -6,7 +6,7 @@
# Menyertakan sebuah repositori # Menyertakan sebuah repositori
Cara seorang profesional DevOps menjadikan repositori TirSystem menggunakan aliran kerja bersama **Sync GitHub mirror metadata**, dan runner yang diperlukannya. Hanya aliran kerja ini yang wujud sekarang; aliran kerja semakan kualiti dan keluaran dirancang (lihat [Pelan Projek](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/docs/project-plan.md)). Cara seorang profesional DevOps menjadikan repositori TirSystem menggunakan aliran kerja bersama **Sync GitHub mirror metadata**, dan runner yang diperlukannya. Hanya aliran kerja ini yang wujud sekarang; aliran kerja semakan kualiti dan keluaran dirancang (lihat [Pelan Projek](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/docs/project-plan.md)).
## Perkara yang telah disahkan ## Perkara yang telah disahkan
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of QualityChecksCSharp.md, source sha256 a024fde8d1b3 --> <!-- translation of QualityChecksCSharp.md, source sha256 8b222eda2f0c -->
> Dette er en oversættelse af [`QualityChecksCSharp`](QualityChecksCSharp). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`QualityChecksCSharp`](QualityChecksCSharp). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/quality-checks-csharp.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/quality-checks-csharp.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/quality-checks-csharp.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/quality-checks-csharp.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/quality-checks-csharp.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/quality-checks-csharp.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](QualityChecksCSharp.da) | [Bahasa Melayu](QualityChecksCSharp.ms) English | [Dansk](QualityChecksCSharp.da) | [Bahasa Melayu](QualityChecksCSharp.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of QualityChecksCSharp.md, source sha256 a024fde8d1b3 --> <!-- translation of QualityChecksCSharp.md, source sha256 8b222eda2f0c -->
> Ini ialah terjemahan [`QualityChecksCSharp`](QualityChecksCSharp). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`QualityChecksCSharp`](QualityChecksCSharp). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of QualityChecksCpp.md, source sha256 29d1e1390494 --> <!-- translation of QualityChecksCpp.md, source sha256 47b2acf3df76 -->
> Dette er en oversættelse af [`QualityChecksCpp`](QualityChecksCpp). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`QualityChecksCpp`](QualityChecksCpp). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/quality-checks-cpp.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/quality-checks-cpp.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/quality-checks-cpp.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/quality-checks-cpp.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/quality-checks-cpp.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/quality-checks-cpp.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](QualityChecksCpp.da) | [Bahasa Melayu](QualityChecksCpp.ms) English | [Dansk](QualityChecksCpp.da) | [Bahasa Melayu](QualityChecksCpp.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of QualityChecksCpp.md, source sha256 29d1e1390494 --> <!-- translation of QualityChecksCpp.md, source sha256 47b2acf3df76 -->
> Ini ialah terjemahan [`QualityChecksCpp`](QualityChecksCpp). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`QualityChecksCpp`](QualityChecksCpp). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of QualityChecksPythonShell.md, source sha256 ef64b44b88ad --> <!-- translation of QualityChecksPythonShell.md, source sha256 30749ff155ea -->
> Dette er en oversættelse af [`QualityChecksPythonShell`](QualityChecksPythonShell). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`QualityChecksPythonShell`](QualityChecksPythonShell). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/quality-checks.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/quality-checks.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/quality-checks.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/quality-checks.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/quality-checks.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/quality-checks.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](QualityChecksPythonShell.da) | [Bahasa Melayu](QualityChecksPythonShell.ms) English | [Dansk](QualityChecksPythonShell.da) | [Bahasa Melayu](QualityChecksPythonShell.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of QualityChecksPythonShell.md, source sha256 ef64b44b88ad --> <!-- translation of QualityChecksPythonShell.md, source sha256 30749ff155ea -->
> Ini ialah terjemahan [`QualityChecksPythonShell`](QualityChecksPythonShell). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`QualityChecksPythonShell`](QualityChecksPythonShell). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of Troubleshooting.md, source sha256 33926e7a511b --> <!-- translation of Troubleshooting.md, source sha256 e4128e7f821c -->
> Dette er en oversættelse af [`Troubleshooting`](Troubleshooting). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`Troubleshooting`](Troubleshooting). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/troubleshooting.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/troubleshooting.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/troubleshooting.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/troubleshooting.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/troubleshooting.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/troubleshooting.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](Troubleshooting.da) | [Bahasa Melayu](Troubleshooting.ms) English | [Dansk](Troubleshooting.da) | [Bahasa Melayu](Troubleshooting.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of Troubleshooting.md, source sha256 33926e7a511b --> <!-- translation of Troubleshooting.md, source sha256 e4128e7f821c -->
> Ini ialah terjemahan [`Troubleshooting`](Troubleshooting). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`Troubleshooting`](Troubleshooting). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of Upgrading.md, source sha256 d709c35bf035 --> <!-- translation of Upgrading.md, source sha256 cd7640274c6d -->
> Dette er en oversættelse af [`Upgrading`](Upgrading). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres. > Dette er en oversættelse af [`Upgrading`](Upgrading). Den engelske side er autoritativ, og ændringer her bliver overskrevet, næste gang wikien publiceres.
+1 -1
View File
@@ -1,6 +1,6 @@
<!-- Generated from guides/upgrading.md by tools/build_wiki.py. Edit the source, not this page. --> <!-- Generated from guides/upgrading.md by tools/build_wiki.py. Edit the source, not this page. -->
> This page is generated from [`guides/upgrading.md`](https://git.tirsystem.com/TirSystem/github-action/src/branch/main/guides/upgrading.md). Changes made here are overwritten the next time the wiki is published. > This page is generated from [`guides/upgrading.md`](https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main/guides/upgrading.md). Changes made here are overwritten the next time the wiki is published.
English | [Dansk](Upgrading.da) | [Bahasa Melayu](Upgrading.ms) English | [Dansk](Upgrading.da) | [Bahasa Melayu](Upgrading.ms)
+1 -1
View File
@@ -1,4 +1,4 @@
<!-- translation of Upgrading.md, source sha256 d709c35bf035 --> <!-- translation of Upgrading.md, source sha256 cd7640274c6d -->
> Ini ialah terjemahan [`Upgrading`](Upgrading). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya. > Ini ialah terjemahan [`Upgrading`](Upgrading). Halaman bahasa Inggeris ialah teks yang sah, dan perubahan di sini akan ditimpa pada penerbitan wiki yang seterusnya.
+6 -6
View File
@@ -159,7 +159,7 @@ en The pages in wiki/ match what README.md and guides/ produce. tests/test_build
en The scoped workflow sets WIKI_PRUNE: the docs/wiki folder is the opt-in. tests/test_publish_wiki.py en The scoped workflow sets WIKI_PRUNE: the docs/wiki folder is the opt-in. tests/test_publish_wiki.py
en The wiki of this repository equals docs/wiki/ (ADR-0009): the folder is the opt-in. tests/test_publish_wiki.py en The wiki of this repository equals docs/wiki/ (ADR-0009): the folder is the opt-in. tests/test_publish_wiki.py
en The workflow checks out the calling repository, fetches this file into tools/code-metrics.sh en The workflow checks out the calling repository, fetches this file into tools/code-metrics.sh
en TirSystem/github-action (tools/publish_wiki.py), fetched at v2. .gitea/scoped_workflows/publish-wiki-pages.yml en TirSystem/git-workflows (tools/publish_wiki.py), fetched at v2. .gitea/scoped_workflows/publish-wiki-pages.yml
en Translate an exclude pattern: `*` stops at `/`, `**` crosses it, `?` is one character. tools/count_loc.py en Translate an exclude pattern: `*` stops at `/`, `**` crosses it, `?` is one character. tools/count_loc.py
en Translations (ADR-0001): `<Page>.<code>` written by hand in docs/wiki/. tools/build_wiki.py en Translations (ADR-0001): `<Page>.<code>` written by hand in docs/wiki/. tools/build_wiki.py
en True when the tag holds the file; True when the tag is not in this checkout. tests/test_tools_ref.py en True when the tag holds the file; True when the tag is not in this checkout. tests/test_tools_ref.py
@@ -222,7 +222,7 @@ en for the tests. actions/connect-tailscale/connect-tailscale.sh
en idempotent, but the host records the edit). .gitea/workflows/sync-milestones.yml en idempotent, but the host records the edit). .gitea/workflows/sync-milestones.yml
en installed it on 2026-10-11 at the request of S01. .gitea/workflows/sync-milestones.yml en installed it on 2026-10-11 at the request of S01. .gitea/workflows/sync-milestones.yml
en into shared-scripts/ and runs one command per step: tools/quality-checks-cpp.sh en into shared-scripts/ and runs one command per step: tools/quality-checks-cpp.sh
en is a file of TirSystem/github-action (tools/sync_github_metadata.py), fetched .gitea/scoped_workflows/sync-github-metadata.yml en is a file of TirSystem/git-workflows (tools/sync_github_metadata.py), fetched .gitea/scoped_workflows/sync-github-metadata.yml
en is created or updated as a Milestone with its tasks as Issues. A Proposed .gitea/workflows/sync-milestones.yml en is created or updated as a Milestone with its tasks as Issues. A Proposed .gitea/workflows/sync-milestones.yml
en it is removed when the interface does not come up actions/connect-wireguard/connect-wireguard.sh en it is removed when the interface does not come up actions/connect-wireguard/connect-wireguard.sh
en it, up to the top of the repository: clang-format and clang-tidy find their tools/quality-checks-cpp.sh en it, up to the top of the repository: clang-format and clang-tidy find their tools/quality-checks-cpp.sh
@@ -279,10 +279,10 @@ en the stub records its arguments and, for `up`, the content of the key file tes
en the tools are in the virtual environment of the interpreter that runs the tests tests/test_lint_action_scripts.py en the tools are in the virtual environment of the interpreter that runs the tests tests/test_lint_action_scripts.py
en type: ignore[index] tools/changelog.py en type: ignore[index] tools/changelog.py
en type: ignore[return-value] tools/changelog.py en type: ignore[return-value] tools/changelog.py
en uses: TirSystem/github-action/.gitea/workflows/code-metrics.yml@v2 .gitea/workflows/code-metrics.yml en uses: TirSystem/git-workflows/.gitea/workflows/code-metrics.yml@v2 .gitea/workflows/code-metrics.yml
en uses: TirSystem/github-action/.gitea/workflows/quality-checks-cpp.yml@v1 .gitea/workflows/quality-checks-cpp.yml en uses: TirSystem/git-workflows/.gitea/workflows/quality-checks-cpp.yml@v1 .gitea/workflows/quality-checks-cpp.yml
en uses: TirSystem/github-action/.gitea/workflows/quality-checks-csharp.yml@v1 .gitea/workflows/quality-checks-csharp.yml en uses: TirSystem/git-workflows/.gitea/workflows/quality-checks-csharp.yml@v1 .gitea/workflows/quality-checks-csharp.yml
en uses: TirSystem/github-action/.gitea/workflows/quality-checks.yml@v1 .gitea/workflows/quality-checks.yml en uses: TirSystem/git-workflows/.gitea/workflows/quality-checks.yml@v1 .gitea/workflows/quality-checks.yml
en validate-workflows.yml measures tools/ and fails below the .coveragerc limit. tests/test_workflows.py en validate-workflows.yml measures tools/ and fails below the .coveragerc limit. tests/test_workflows.py
en validate-workflows.yml runs it on every pull request and push to main. tools/lint-action-scripts.sh en validate-workflows.yml runs it on every pull request and push to main. tools/lint-action-scripts.sh
en variables that must reach wg-quick through sudo, which resets the environment actions/connect-wireguard/connect-wireguard.sh en variables that must reach wg-quick through sudo, which resets the environment actions/connect-wireguard/connect-wireguard.sh
Can't render this file because it contains an unexpected character in line 2 and column 11.
+1 -1
View File
@@ -78,7 +78,7 @@ class TestDefinition:
steps = document["jobs"]["code-metrics"]["steps"] steps = document["jobs"]["code-metrics"]["steps"]
fetch = next(step for step in steps if step.get("name") == "Fetch the shared scripts") fetch = next(step for step in steps if step.get("name") == "Fetch the shared scripts")
assert fetch["with"] == { assert fetch["with"] == {
"repository": "TirSystem/github-action", "repository": "TirSystem/git-workflows",
"ref": "${{ inputs.tools-ref }}", "ref": "${{ inputs.tools-ref }}",
"path": "shared-scripts", "path": "shared-scripts",
} }
+1 -1
View File
@@ -285,4 +285,4 @@ class TestWorkflow:
def test_uses_gitea_contexts_only(self): def test_uses_gitea_contexts_only(self):
text = WORKFLOW.read_text(encoding="utf-8") text = WORKFLOW.read_text(encoding="utf-8")
assert "gitea.event.pull_request.user.login" in text assert "gitea.event.pull_request.user.login" in text
assert "github." not in text.replace("TirSystem/github-action", "") assert "github." not in text.replace("TirSystem/git-workflows", "")
+1 -1
View File
@@ -497,7 +497,7 @@ class TestScopedWorkflow:
def test_the_script_is_fetched_at_v2(self, steps): def test_the_script_is_fetched_at_v2(self, steps):
fetch = steps["Fetch the shared script"]["with"] fetch = steps["Fetch the shared script"]["with"]
assert fetch["repository"] == "TirSystem/github-action" assert fetch["repository"] == "TirSystem/git-workflows"
assert fetch["ref"] == "v2" assert fetch["ref"] == "v2"
def test_the_folder_check_decides_whether_the_fetch_and_publish_steps_run(self, steps): def test_the_folder_check_decides_whether_the_fetch_and_publish_steps_run(self, steps):
+1 -1
View File
@@ -81,7 +81,7 @@ class TestDefinition:
steps = document["jobs"]["quality-checks"]["steps"] steps = document["jobs"]["quality-checks"]["steps"]
fetch = next(step for step in steps if step.get("name") == "Fetch the shared script") fetch = next(step for step in steps if step.get("name") == "Fetch the shared script")
assert fetch["with"] == { assert fetch["with"] == {
"repository": "TirSystem/github-action", "repository": "TirSystem/git-workflows",
"ref": "${{ inputs.tools-ref }}", "ref": "${{ inputs.tools-ref }}",
"path": "shared-scripts", "path": "shared-scripts",
} }
+1 -1
View File
@@ -64,7 +64,7 @@ class TestDefinition:
steps = load(workflow)["jobs"][job]["steps"] steps = load(workflow)["jobs"][job]["steps"]
fetch = next(step for step in steps if step.get("name") == "Fetch the shared script") fetch = next(step for step in steps if step.get("name") == "Fetch the shared script")
assert fetch["with"] == { assert fetch["with"] == {
"repository": "TirSystem/github-action", "repository": "TirSystem/git-workflows",
"ref": "${{ inputs.tools-ref }}", "ref": "${{ inputs.tools-ref }}",
"path": "shared-scripts", "path": "shared-scripts",
} }
+2 -2
View File
@@ -40,9 +40,9 @@ class TestGiteaToken:
class TestSplitRepository: class TestSplitRepository:
def test_splits_owner_and_repo(self, sync): def test_splits_owner_and_repo(self, sync):
assert sync["split_repository"]("TirSystem/github-action") == ( assert sync["split_repository"]("TirSystem/git-workflows") == (
"TirSystem", "TirSystem",
"github-action", "git-workflows",
) )
@pytest.mark.parametrize("value", [None, "", "owner", "/repo", "owner/"]) @pytest.mark.parametrize("value", [None, "", "owner", "/repo", "owner/"])
+1 -1
View File
@@ -38,7 +38,7 @@ def test_sync_workflow_embeds_no_script_and_runs_the_file():
assert embedded_python(SYNC_WORKFLOW) == [] assert embedded_python(SYNC_WORKFLOW) == []
document = yaml.safe_load(SYNC_WORKFLOW.read_text(encoding="utf-8")) document = yaml.safe_load(SYNC_WORKFLOW.read_text(encoding="utf-8"))
steps = document["jobs"]["sync-metadata"]["steps"] steps = document["jobs"]["sync-metadata"]["steps"]
assert steps[0]["with"]["repository"] == "TirSystem/github-action" assert steps[0]["with"]["repository"] == "TirSystem/git-workflows"
assert steps[-1]["run"] == "python3 shared-scripts/tools/sync_github_metadata.py" assert steps[-1]["run"] == "python3 shared-scripts/tools/sync_github_metadata.py"
+1 -1
View File
@@ -19,7 +19,7 @@ from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parent.parent REPO_ROOT = Path(__file__).resolve().parent.parent
WIKI_DIR = REPO_ROOT / "docs" / "wiki" WIKI_DIR = REPO_ROOT / "docs" / "wiki"
SOURCE_BASE_URL = "https://git.tirsystem.com/TirSystem/github-action/src/branch/main" SOURCE_BASE_URL = "https://git.tirsystem.com/TirSystem/git-workflows/src/branch/main"
GENERATOR = "tools/build_wiki.py" GENERATOR = "tools/build_wiki.py"
# Leading emoji and symbols in README headings; removed so anchors stay stable. # Leading emoji and symbols in README headings; removed so anchors stay stable.