From 10f27a672276751c2bf92262dab32243a6f00a4f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:54:15 +0000 Subject: [PATCH 1/5] 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 8572592..f97d473 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 face44b..b024720 100644 --- a/.github/workflows/build-status-check.yml +++ b/.github/workflows/build-status-check.yml @@ -10,7 +10,7 @@ on: jobs: build_project: 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 632b879..84e9809 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -73,7 +73,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 6398acf..c1530e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: perform_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-action-release.yml@v13.0.0 + uses: KinsonDigital/Infrastructure/.github/workflows/dotnet-action-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 636015f..b580772 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 41bc57b..d21528f 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -10,7 +10,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 9c18f055dcc2a544a4db7b2b6def62960d948208 Mon Sep 17 00:00:00 2001 From: Kristen Wilkinson Date: Mon, 23 Oct 2023 15:38:57 +0100 Subject: [PATCH 2/5] ci: add workflows --- .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 b024720..2f75c96 100644 --- a/.github/workflows/build-status-check.yml +++ b/.github/workflows/build-status-check.yml @@ -15,3 +15,5 @@ jobs: project-name: ${{ vars.PROJECT_NAME }} build-config: Debug net-sdk-version: ${{ vars.NET_SDK_VERSION }} + checkout-ref: ${{ github.event.pull_request.head.ref }} + checkout-repository: ${{ 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 d21528f..ec2d0ac 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -15,3 +15,5 @@ jobs: project-name: ${{ vars.PROJECT_NAME }}Tests build-config: Debug net-sdk-version: ${{ vars.NET_SDK_VERSION }} + checkout-ref: ${{ github.event.pull_request.head.ref }} + checkout-repository: ${{ github.event.pull_request.head.repo.full_name }} \ No newline at end of file From d3dd23112b360baf578e72208834558eb819368c Mon Sep 17 00:00:00 2001 From: Kristen Wilkinson Date: Mon, 23 Oct 2023 15:39:18 +0100 Subject: [PATCH 3/5] ci: update event information --- .github/workflows/sync-pr-to-issue.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-pr-to-issue.yml b/.github/workflows/sync-pr-to-issue.yml index b580772..d9ec579 100644 --- a/.github/workflows/sync-pr-to-issue.yml +++ b/.github/workflows/sync-pr-to-issue.yml @@ -16,7 +16,9 @@ on: jobs: initial_sync: name: Start Initial Sync - if: ${{ github.event_name == 'pull_request_target' }} + if: | + github.event_name == 'pull_request_target' && + !startsWith(github.base_ref, 'renovate/') uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.1.0 with: issue-or-pr-number: ${{ github.event.pull_request.number }} @@ -29,11 +31,14 @@ jobs: manual_sync: name: Start Manual Sync - if: ${{ github.event_name == 'issue_comment' && contains(github.event.comment.body, '[run-sync]') }} + if: | + github.event_name == 'issue_comment' && + contains(github.event.comment.body, '[run-sync]') && + !startsWith(github.base_ref, 'renovate/') uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.1.0 with: issue-or-pr-number: ${{ github.event.issue.number }} sync-type: manual requested-by: "validate:${{ github.event.sender.login }}" secrets: - cicd-pat: ${{ secrets.CICD_TOKEN }} + cicd-pat: ${{ secrets.CICD_TOKEN }} \ No newline at end of file From 0962b7009e30c2ca6cf8cfb374314a57be9fdbde Mon Sep 17 00:00:00 2001 From: Kristen Wilkinson Date: Tue, 24 Oct 2023 11:43:00 +0100 Subject: [PATCH 4/5] ci: add spaces --- .github/workflows/sync-pr-to-issue.yml | 3 ++- .github/workflows/unit-test-status-check.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-pr-to-issue.yml b/.github/workflows/sync-pr-to-issue.yml index d9ec579..6f1bea0 100644 --- a/.github/workflows/sync-pr-to-issue.yml +++ b/.github/workflows/sync-pr-to-issue.yml @@ -41,4 +41,5 @@ jobs: sync-type: manual requested-by: "validate:${{ github.event.sender.login }}" secrets: - cicd-pat: ${{ secrets.CICD_TOKEN }} \ No newline at end of file + cicd-pat: ${{ secrets.CICD_TOKEN }} + \ 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 ec2d0ac..a80249c 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -16,4 +16,5 @@ jobs: build-config: Debug net-sdk-version: ${{ vars.NET_SDK_VERSION }} checkout-ref: ${{ github.event.pull_request.head.ref }} - checkout-repository: ${{ github.event.pull_request.head.repo.full_name }} \ No newline at end of file + checkout-repository: ${{ github.event.pull_request.head.repo.full_name }} + \ No newline at end of file From e2221c905531ff82b93afccf625525313c67b1e8 Mon Sep 17 00:00:00 2001 From: Kristen Wilkinson Date: Tue, 24 Oct 2023 14:09:55 +0100 Subject: [PATCH 5/5] ci: remove spaces from extra line --- .github/workflows/unit-test-status-check.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/unit-test-status-check.yml b/.github/workflows/unit-test-status-check.yml index a80249c..711c891 100644 --- a/.github/workflows/unit-test-status-check.yml +++ b/.github/workflows/unit-test-status-check.yml @@ -17,4 +17,3 @@ jobs: net-sdk-version: ${{ vars.NET_SDK_VERSION }} checkout-ref: ${{ github.event.pull_request.head.ref }} checkout-repository: ${{ github.event.pull_request.head.repo.full_name }} - \ No newline at end of file