From 940fce12ad58b8c20d8e0f392c4613c41ccf8ef7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 14:00:34 +0000 Subject: [PATCH 1/4] Initial plan From 93e2d206a65b8a441a268c26194787cac8b33ccf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 14:09:54 +0000 Subject: [PATCH 2/4] fix: run Linux container as non-root user Co-authored-by: StuartFerguson <16325469+StuartFerguson@users.noreply.github.com> --- TestHosts/TestHosts/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TestHosts/TestHosts/Dockerfile b/TestHosts/TestHosts/Dockerfile index 05a25e6..3f8f398 100644 --- a/TestHosts/TestHosts/Dockerfile +++ b/TestHosts/TestHosts/Dockerfile @@ -15,5 +15,6 @@ RUN dotnet publish "TestHosts.csproj" -c Release -o /app/publish FROM base AS final WORKDIR /app -COPY --from=publish /app/publish . +COPY --from=publish --chown=10001:0 /app/publish . +USER 10001 ENTRYPOINT ["dotnet", "TestHosts.dll"] From 01a9213b34e290d34c0c2d9d9537abc28588cb78 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 14:11:27 +0000 Subject: [PATCH 3/4] chore: finalize Dockerfile security validation Co-authored-by: StuartFerguson <16325469+StuartFerguson@users.noreply.github.com> --- TestHosts/TestHosts/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TestHosts/TestHosts/Dockerfile b/TestHosts/TestHosts/Dockerfile index 3f8f398..24ce0d7 100644 --- a/TestHosts/TestHosts/Dockerfile +++ b/TestHosts/TestHosts/Dockerfile @@ -15,6 +15,6 @@ RUN dotnet publish "TestHosts.csproj" -c Release -o /app/publish FROM base AS final WORKDIR /app -COPY --from=publish --chown=10001:0 /app/publish . -USER 10001 +COPY --from=publish --chown=10001:10001 /app/publish . +USER 10001:10001 ENTRYPOINT ["dotnet", "TestHosts.dll"] From f82ce65c3e5920224fb56a9ea78f41c13cf01b24 Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Mon, 16 Mar 2026 14:26:23 +0000 Subject: [PATCH 4/4] Delete .github/workflows/prlinked.yml --- .github/workflows/prlinked.yml | 47 ---------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/prlinked.yml diff --git a/.github/workflows/prlinked.yml b/.github/workflows/prlinked.yml deleted file mode 100644 index 84037c8..0000000 --- a/.github/workflows/prlinked.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Move Linked Issues - -on: - pull_request: - types: - - opened - - synchronize - - reopened - -jobs: - get-date: - runs-on: ubuntu-latest - outputs: - project_name_prefix: ${{ steps.format_date.outputs.formatted_date }} - steps: - - name: Get PR creation date - id: format_date - run: | - # Extract the month and year from the PR creation date - PR_DATE="${{ github.event.pull_request.created_at }}" - FORMATTED_DATE=$(date -d "$PR_DATE" "+%B %Y") # Format to Month Year - - # Debugging: print out the formatted date - echo "Formatted Date: ${FORMATTED_DATE} Sprint" - - # Set output using the Environment File method - echo "formatted_date=${FORMATTED_DATE} Sprint" >> $GITHUB_OUTPUT # Set the output for later jobs - - debug-date: - needs: get-date - runs-on: ubuntu-latest - steps: - - name: Debug the outputs - run: | - echo "PR Number: ${{ github.event.pull_request.number }}" - echo "Project Column Name: Review" - echo "Project Name Prefix (from get-date job output): ${{ needs.get-date.outputs.project_name_prefix }}" # Access the output correctly - - move-issues: - needs: get-date - uses: TransactionProcessing/org-ci-workflows/.github/workflows/move-linked-issue.yml@main - with: - pr_number: ${{ github.event.pull_request.number }} - project_column_name: "Review" - project_name_prefix: ${{ needs.get-date.outputs.project_name_prefix }} # Access the output from get-date job - secrets: - gh_token: ${{ secrets.GH_TOKEN }}