Skip to content

Commit 4a72cb3

Browse files
0xcedHofmeisterAn
andauthored
chore: Make the continuous delivery job fork-friendly (#1559)
Co-authored-by: Andre Hofmeister <[email protected]>
1 parent d6cb160 commit 4a72cb3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
path: test-results
9090

9191
cd:
92-
if: ${{ contains(fromJson('["develop", "main"]'), github.ref_name) }}
92+
if: ${{ github.repository == 'testcontainers/testcontainers-dotnet' && contains(fromJson('["develop", "main"]'), github.ref_name) }}
9393

9494
needs: ci
9595

Testcontainers.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
99
README.md = README.md
1010
EndProjectSection
1111
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{78E879DE-E97B-4E19-B71B-628ED9FA7F7C}"
13+
ProjectSection(SolutionItems) = preProject
14+
.github\workflows\cicd.yml = .github\workflows\cicd.yml
15+
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
16+
.github\workflows\test-report.yml = .github\workflows\test-report.yml
17+
EndProjectSection
18+
EndProject
1219
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{673F23AE-7694-4BB9-ABD4-136D6C13634E}"
1320
EndProject
1421
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{7164F1FB-7F24-444A-ACD2-2C329C2B3CCF}"
@@ -756,6 +763,7 @@ Global
756763
HideSolutionNode = FALSE
757764
EndGlobalSection
758765
GlobalSection(NestedProjects) = preSolution
766+
{78E879DE-E97B-4E19-B71B-628ED9FA7F7C} = {AF017206-CE20-4DDF-8301-CAC68CED1BE6}
759767
{5365F780-0E6C-41F0-B1B9-7DC34368F80C} = {673F23AE-7694-4BB9-ABD4-136D6C13634E}
760768
{AB9C1563-07C7-4685-BACD-BB1FF64B3611} = {673F23AE-7694-4BB9-ABD4-136D6C13634E}
761769
{3F2E254F-C203-43FD-A078-DC3E2CBC0F9F} = {673F23AE-7694-4BB9-ABD4-136D6C13634E}

0 commit comments

Comments
 (0)