Skip to content

Commit

Permalink
chore(deps): update kinsondigital/infrastructure action to v13.5.0 (#147
Browse files Browse the repository at this point in the history
)

* chore(deps): update kinsondigital/infrastructure action to v13.5.0

| datasource  | package                      | from    | to      |
| ----------- | ---------------------------- | ------- | ------- |
| github-tags | KinsonDigital/Infrastructure | v13.3.1 | v13.5.0 |

* ci: improve version regex in prepare-release workflow

* ci: swap positions of reusable workflow inputs

* ci: add read permission to deno script execution

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Calvin Wilkinson <[email protected]>
  • Loading branch information
renovate[bot] and CalvinWilkinson authored Dec 12, 2023
1 parent 7f1ab0d commit 4dfc974
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-new-item-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/add-item-to-project.yml@v13.5.0
with:
org-name: "${{ vars.ORGANIZATION_NAME }}"
org-project-name: "${{ vars.ORG_PROJECT_NAME }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:
jobs:
build_project:
name: ${{ vars.PROJECT_NAME }} Build Status Check
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v13.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v13.5.0
with:
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 }}
checkout-ref: ${{ github.event.pull_request.head.ref }}
secrets:
cicd-pat: ${{ secrets.CICD_TOKEN }}
7 changes: 3 additions & 4 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@ jobs:
}
$prodVersionRegex = "v[0-9]+\.[0-9]+\.[0-9]+";
$prevVersionRegex = "v[0-9]+\.[0-9]+\.[0-9]+-preview\.[0-9]+";
$versionRegex = "v([1-9]\d*|0)\.([1-9]\d*|0)\.([1-9]\d*|0)(-preview\.([1-9]\d*))?";
# Verify that the version has valid syntax
if (($releaseVersion -match $prodVersionRegex) -or ($releaseVersion -match $prevVersionRegex)) {
if (($releaseVersion -match $versionRegex)) {
Write-Host "::notice::The 'release-version' workflow input is valid.";
} else {
$versionSyntax = $releaseType == "production" ? "v#.#.#" : "v#.#.#-preview.#";
Expand All @@ -73,7 +72,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.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/prepare-release.yml@v13.5.0
with:
project-name: ${{ vars.PROJECT_NAME }}
release-type: ${{ inputs.release-type }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/dotnet-action-release.yml@v13.5.0
with:
project-name: "${{ vars.PROJECT_NAME }}"
release-type: "${{ inputs.release-type }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-pr-to-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.5.0
with:
issue-or-pr-number: ${{ github.event.pull_request.number }}
sync-type: initial
Expand All @@ -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.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.5.0
with:
issue-or-pr-number: ${{ github.event.issue.number }}
sync-type: manual
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
5. PAT
#>
deno run `
--allow-net `
--allow-net --allow-read `
"$scriptUrl" `
"${{ vars.ORGANIZATION_NAME }}" `
"${{ vars.PROJECT_NAME }}" `
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:
jobs:
run_tests:
name: ${{ vars.PROJECT_NAME }} Test Status Check
uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v13.3.1
uses: KinsonDigital/Infrastructure/.github/workflows/run-csharp-tests.yml@v13.5.0
with:
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 }}
checkout-ref: ${{ github.event.pull_request.head.ref }}
secrets:
cicd-pat: ${{ secrets.CICD_TOKEN }}

0 comments on commit 4dfc974

Please sign in to comment.