diff --git a/.github/workflows/add-new-issue-to-project.yml b/.github/workflows/add-new-issue-to-project.yml
deleted file mode 100644
index cd2644e04..000000000
--- a/.github/workflows/add-new-issue-to-project.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-name: 🤖Add New Issue To Project
-
-
-on:
- issues:
- types: opened
- pull_request:
- types: opened
- branches: [main, preview]
-
-
-jobs:
- add_new_issue_to_project:
- name: Add New Issue
- uses: KinsonDigital/Infrastructure/.github/workflows/add-issue-to-project.yml@v10.0.2
- with:
- org-name: "${{ vars.ORGANIZATION_NAME }}"
- org-project-name: "${{ vars.ORG_PROJECT_NAME }}"
- project-name: "${{ vars.PROJECT_NAME }}"
- secrets:
- cicd-pat: ${{ secrets.CICD_TOKEN }}
diff --git a/.github/workflows/add-new-item-to-project.yml b/.github/workflows/add-new-item-to-project.yml
new file mode 100644
index 000000000..77c4cdfe5
--- /dev/null
+++ b/.github/workflows/add-new-item-to-project.yml
@@ -0,0 +1,38 @@
+name: 🤖Add New Issue To Project
+
+
+defaults:
+ run:
+ shell: pwsh
+
+
+on:
+ pull_request:
+ types: opened
+ branches: [main, preview, renovate/*]
+
+
+jobs:
+ get_item_number:
+ name: Get Item Number
+ runs-on: ubuntu-latest
+ outputs:
+ item-number: ${{ steps.get-item-number.outputs.item-number }}
+ steps:
+ - name: Get Item Number
+ id: get-item-number
+ run: |
+ "item-number=${{ github.event.pull_request.number }}" >> $env:GITHUB_OUTPUT;
+
+
+ add_new_issue_to_project:
+ name: Add New Issue
+ needs: get_item_number
+ uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v12.0.0
+ with:
+ org-name: "${{ vars.ORGANIZATION_NAME }}"
+ org-project-name: "${{ vars.ORG_PROJECT_NAME }}"
+ repo-name: "${{ vars.PROJECT_NAME }}"
+ item-number: ${{ needs.get_item_number.outputs.item-number }}
+ secrets:
+ cicd-pat: ${{ secrets.CICD_TOKEN }}
diff --git a/.github/workflows/build-status-check.yml b/.github/workflows/build-status-check.yml
index d2c32a69a..81bd65779 100644
--- a/.github/workflows/build-status-check.yml
+++ b/.github/workflows/build-status-check.yml
@@ -15,7 +15,7 @@ on:
jobs:
build_status_check:
name: ${{ vars.PROJECT_NAME }} Build Status Check
- uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v10.0.2
+ uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v12.0.0
with:
project-name: "${{ vars.PROJECT_NAME }}"
build-config: Debug
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index a9c0e7f24..886485163 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -45,7 +45,7 @@ jobs:
}
- if ($releaseType -ne 'preview' -and $releaseType -ne 'roduction') {
+ if ($releaseType -ne 'preview' -and $releaseType -ne 'production') {
Write-Host "::error::The release type input must be either 'Preview' or 'Production'.";
exit 1;
}
@@ -74,7 +74,7 @@ jobs:
prepare_release:
name: Prepare ${{ inputs.release-type }} Release Of ${{ vars.PROJECT_NAME }}
needs: print_validate_workflow
- uses: KinsonDigital/Infrastructure/.github/workflows/prepare-release.yml@v10.0.2
+ uses: KinsonDigital/Infrastructure/.github/workflows/prepare-release.yml@v12.0.0
with:
project-name: "${{ vars.PROJECT_NAME }}"
release-type: "${{ inputs.release-type }}"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 75d36d095..94c406cc7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -39,7 +39,7 @@ jobs:
run_release:
name: Performing ${{ inputs.release-type }} Release of ${{ vars.PROJECT_NAME }} (${{ inputs.release-type == 'Production' && 'Release' || 'Debug' }})
needs: determine_release_notes_path
- uses: KinsonDigital/Infrastructure/.github/workflows/dotnet-lib-release.yml@v10.0.2
+ uses: KinsonDigital/Infrastructure/.github/workflows/dotnet-lib-release.yml@v12.0.0
with:
project-name: "${{ vars.PROJECT_NAME}}"
release-type: "${{ inputs.release-type }}"
diff --git a/.github/workflows/unit-test-status-check.yml b/.github/workflows/unit-test-status-check.yml
index 8672f67a1..71103d0e6 100644
--- a/.github/workflows/unit-test-status-check.yml
+++ b/.github/workflows/unit-test-status-check.yml
@@ -16,7 +16,7 @@ on:
jobs:
run_tests:
name: ${{ vars.PROJECT_NAME }} Test Status Check
- uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v10.0.2
+ uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v12.0.0
with:
project-name: "${{ vars.PROJECT_NAME }}Tests"
build-config: Debug
diff --git a/Testing/VelaptorTests/VelaptorTests.csproj b/Testing/VelaptorTests/VelaptorTests.csproj
index c2aea5386..481ca4aaf 100644
--- a/Testing/VelaptorTests/VelaptorTests.csproj
+++ b/Testing/VelaptorTests/VelaptorTests.csproj
@@ -116,7 +116,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/Velaptor.sln b/Velaptor.sln
index e79ba5578..068056bf2 100644
--- a/Velaptor.sln
+++ b/Velaptor.sln
@@ -29,7 +29,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VelaptorTests", "Testing\Ve
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{CE2DE8AE-0037-4159-AE95-14D261BF9122}"
ProjectSection(SolutionItems) = preProject
- .github\workflows\add-new-issue-to-project.yml = .github\workflows\add-new-issue-to-project.yml
.github\workflows\build-status-check.yml = .github\workflows\build-status-check.yml
.github\workflows\prepare-release.yml = .github\workflows\prepare-release.yml
.github\workflows\release.yml = .github\workflows\release.yml
@@ -39,6 +38,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{
.github\workflows\sync-status-check.yml = .github\workflows\sync-status-check.yml
.github\workflows\triage-issue.yml = .github\workflows\triage-issue.yml
.github\workflows\unit-test-status-check.yml = .github\workflows\unit-test-status-check.yml
+ .github\workflows\add-new-item-to-project.yml = .github\workflows\add-new-item-to-project.yml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MeasureTextPerf", "Performance\MeasureTextPerf\MeasureTextPerf.csproj", "{8690A40A-D3B2-488B-92B6-5771C21010E0}"