From 77f91cf066d5b3c62e6d224e08d4485cec8ba286 Mon Sep 17 00:00:00 2001 From: Jens Tirsvad Nielsen Date: Sun, 11 Oct 2026 16:20:13 +0800 Subject: [PATCH] Give the C++ and C# workflows a timeout and an exact checkout tag Task: MIL-007#4 Task: MIL-007#5 --- .gitea/workflows/quality-checks-cpp.yml | 5 +++-- .gitea/workflows/quality-checks-csharp.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/quality-checks-cpp.yml b/.gitea/workflows/quality-checks-cpp.yml index 1caf47e..90a1d08 100644 --- a/.gitea/workflows/quality-checks-cpp.yml +++ b/.gitea/workflows/quality-checks-cpp.yml @@ -43,6 +43,7 @@ jobs: permissions: contents: read runs-on: ubuntu-latest + timeout-minutes: 15 env: WORKING_DIRECTORY: ${{ inputs.working-directory }} STD: ${{ inputs.std }} @@ -52,10 +53,10 @@ jobs: QC_VENV: /tmp/quality-tools steps: - name: Check out the repository - uses: actions/checkout@v4 + uses: actions/checkout@v4.2.2 - name: Fetch the shared script - uses: actions/checkout@v4 + uses: actions/checkout@v4.2.2 with: repository: TirSystem/github-action ref: ${{ inputs.tools-ref }} diff --git a/.gitea/workflows/quality-checks-csharp.yml b/.gitea/workflows/quality-checks-csharp.yml index 2a1e298..8379a87 100644 --- a/.gitea/workflows/quality-checks-csharp.yml +++ b/.gitea/workflows/quality-checks-csharp.yml @@ -34,6 +34,7 @@ jobs: permissions: contents: read runs-on: ubuntu-latest + timeout-minutes: 15 env: WORKING_DIRECTORY: ${{ inputs.working-directory }} PROJECT: ${{ inputs.project }} @@ -41,10 +42,10 @@ jobs: DOTNET_ROOT: /tmp/dotnet steps: - name: Check out the repository - uses: actions/checkout@v4 + uses: actions/checkout@v4.2.2 - name: Fetch the shared script - uses: actions/checkout@v4 + uses: actions/checkout@v4.2.2 with: repository: TirSystem/github-action ref: ${{ inputs.tools-ref }}