From e65d30f309560fc85ac608e8bafaaa625bfa3bb0 Mon Sep 17 00:00:00 2001 From: Calvin Wilkinson <85414302+CalvinWilkinson@users.noreply.github.com> Date: Sun, 10 Dec 2023 08:44:14 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7Update=20infrastructure=20versions?= =?UTF-8?q?=20(#325)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Start work for issue #324 * ci: add permission to workflow * ci: update reusable workflow versions --- .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/sync-status-check.yml | 2 +- .github/workflows/unit-test-status-check.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/add-new-item-to-project.yml b/.github/workflows/add-new-item-to-project.yml index ace7e74d..a8677926 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.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v13.4.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 a73f7885..ffac6c7b 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.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v13.4.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 f7a6b28c..5d864f81 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.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/prepare-release.yml@v13.4.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 8b249b5e..58ab6d0a 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.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/dotnet-lib-release.yml@v13.4.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 3f4a6061..101ce957 100644 --- a/.github/workflows/sync-pr-to-issue.yml +++ b/.github/workflows/sync-pr-to-issue.yml @@ -19,7 +19,7 @@ jobs: if: | github.event_name == 'pull_request_target' && !startsWith(github.head_ref, 'renovate/') - uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.4.0 with: issue-or-pr-number: ${{ github.event.pull_request.number }} sync-type: initial @@ -35,7 +35,7 @@ jobs: github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.issue.pull_request.url != null && contains(github.event.comment.body, '[run-sync]') - uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.4.0 with: issue-or-pr-number: ${{ github.event.issue.number }} sync-type: manual diff --git a/.github/workflows/sync-status-check.yml b/.github/workflows/sync-status-check.yml index 2e7bad5b..4540a7da 100644 --- a/.github/workflows/sync-status-check.yml +++ b/.github/workflows/sync-status-check.yml @@ -44,7 +44,7 @@ jobs: 5. PAT #> deno run ` - --allow-net ` + --allow-net --allow-read ` "$scriptUrl" ` "${{ vars.ORGANIZATION_NAME }}" ` "${{ vars.PROJECT_NAME }}" ` diff --git a/.github/workflows/unit-test-status-check.yml b/.github/workflows/unit-test-status-check.yml index 598fabd9..43833cea 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.4.0-preview + uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v13.4.0 with: project-name: "${{ vars.PROJECT_NAME }}Tests" build-config: Debug