From cbfa96f91d4b3a4b0c1702d9d63fa646014a0d50 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:41:35 +0000 Subject: [PATCH 1/3] chore(deps): update kinsondigital/infrastructure action to v13.1.0 | datasource | package | from | to | | ----------- | ---------------------------- | ------- | ------- | | github-tags | KinsonDigital/Infrastructure | v13.0.0 | v13.1.0 | --- .github/workflows/add-new-item-to-project.yml | 2 +- .github/workflows/build-status-check.yml | 2 +- .github/workflows/prepare-release.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/sync-pr-to-issue.yml | 4 ++-- .github/workflows/unit-test-status-check.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/add-new-item-to-project.yml b/.github/workflows/add-new-item-to-project.yml index 224fd92e..19304061 100644 --- a/.github/workflows/add-new-item-to-project.yml +++ b/.github/workflows/add-new-item-to-project.yml @@ -28,7 +28,7 @@ jobs: add_new_issue_to_project: name: Add New Issue needs: get_item_number - uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v13.1.0 with: org-name: "${{ vars.ORGANIZATION_NAME }}" org-project-name: "${{ vars.ORG_PROJECT_NAME }}" diff --git a/.github/workflows/build-status-check.yml b/.github/workflows/build-status-check.yml index 2665ed0d..b4e3cd46 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@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v13.1.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 a598a8e2..aa0e2e32 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -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@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/prepare-release.yml@v13.1.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 88bb0ba5..100f3121 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@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/dotnet-lib-release.yml@v13.1.0 with: project-name: "${{ vars.PROJECT_NAME}}" release-type: "${{ inputs.release-type }}" diff --git a/.github/workflows/sync-pr-to-issue.yml b/.github/workflows/sync-pr-to-issue.yml index 636015f5..b580772c 100644 --- a/.github/workflows/sync-pr-to-issue.yml +++ b/.github/workflows/sync-pr-to-issue.yml @@ -17,7 +17,7 @@ jobs: initial_sync: name: Start Initial Sync if: ${{ github.event_name == 'pull_request_target' }} - uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.1.0 with: issue-or-pr-number: ${{ github.event.pull_request.number }} sync-type: initial @@ -30,7 +30,7 @@ jobs: manual_sync: name: Start Manual Sync if: ${{ github.event_name == 'issue_comment' && contains(github.event.comment.body, '[run-sync]') }} - uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.1.0 with: issue-or-pr-number: ${{ github.event.issue.number }} sync-type: manual diff --git a/.github/workflows/unit-test-status-check.yml b/.github/workflows/unit-test-status-check.yml index 4ec8c536..a870af45 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -15,7 +15,7 @@ on: jobs: run_tests: name: ${{ vars.PROJECT_NAME }} Test Status Check - uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v13.1.0 with: project-name: "${{ vars.PROJECT_NAME }}Tests" build-config: Debug From a04fdf5beb364dfb8b070924fc5fb2364710e637 Mon Sep 17 00:00:00 2001 From: Kristen Wilkinson Date: Sat, 14 Oct 2023 12:00:48 +0100 Subject: [PATCH 2/3] ci: add inputs to check out repo and branch --- .github/workflows/build-status-check.yml | 2 ++ .github/workflows/unit-test-status-check.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-status-check.yml b/.github/workflows/build-status-check.yml index b4e3cd46..86d5c586 100644 --- a/.github/workflows/build-status-check.yml +++ b/.github/workflows/build-status-check.yml @@ -20,3 +20,5 @@ jobs: project-name: "${{ vars.PROJECT_NAME }}" build-config: Debug net-sdk-version: "${{ vars.NET_SDK_VERSION }}" + checkout-repository: ${{ github.repository }} + checkout-ref: ${{ github.head_ref }} \ No newline at end of file diff --git a/.github/workflows/unit-test-status-check.yml b/.github/workflows/unit-test-status-check.yml index a870af45..c2968489 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -20,3 +20,5 @@ jobs: project-name: "${{ vars.PROJECT_NAME }}Tests" build-config: Debug net-sdk-version: "${{ vars.NET_SDK_VERSION }}" + checkout-repository: ${{ github.repository }} + checkout-ref: ${{ github.head_ref }} From 52888bd0e6e31cb85bb1ae49fb0fd65431b728b9 Mon Sep 17 00:00:00 2001 From: Calvin Wilkinson Date: Fri, 20 Oct 2023 09:51:26 +0100 Subject: [PATCH 3/3] ci: update build and test status checks --- .github/workflows/build-status-check.yml | 4 ++-- .github/workflows/unit-test-status-check.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-status-check.yml b/.github/workflows/build-status-check.yml index 86d5c586..0605e265 100644 --- a/.github/workflows/build-status-check.yml +++ b/.github/workflows/build-status-check.yml @@ -20,5 +20,5 @@ jobs: project-name: "${{ vars.PROJECT_NAME }}" build-config: Debug net-sdk-version: "${{ vars.NET_SDK_VERSION }}" - checkout-repository: ${{ github.repository }} - checkout-ref: ${{ github.head_ref }} \ No newline at end of file + checkout-repository: ${{ github.event.pull_request.head.ref }} + checkout-ref: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/unit-test-status-check.yml b/.github/workflows/unit-test-status-check.yml index c2968489..c2bb16d6 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -20,5 +20,5 @@ jobs: project-name: "${{ vars.PROJECT_NAME }}Tests" build-config: Debug net-sdk-version: "${{ vars.NET_SDK_VERSION }}" - checkout-repository: ${{ github.repository }} - checkout-ref: ${{ github.head_ref }} + checkout-repository: ${{ github.event.pull_request.head.ref }} + checkout-ref: ${{ github.event.pull_request.head.repo.full_name }}