From 385f363ee8e9a95a3e54fe1ade3d3bea9d163182 Mon Sep 17 00:00:00 2001 From: BenedekFarkas Date: Wed, 5 Jun 2024 14:06:32 +0000 Subject: [PATCH] Set GitHub Actions/Workflows to tag v1.2.0 --- .../auto-merge-pull-request/action.yml | 4 ++-- .../auto-transition-jira-issue/action.yml | 6 +++--- .github/actions/build-dotnet/action.yml | 2 +- .github/actions/markdown-lint/action.yml | 2 +- .../precompile-orchard1-app/action.yml | 6 +++--- .github/actions/publish-nuget/action.yml | 8 ++++---- .github/actions/spelling/action.yml | 2 +- .github/actions/test-dotnet/action.yml | 8 ++++---- .../verify-dotnet-consolidation/action.yml | 2 +- .github/workflows/build-and-test-dotnet.yml | 12 +++++------ .../workflows/build-and-test-orchard-core.yml | 20 +++++++++---------- .github/workflows/build-dotnet.yml | 10 +++++----- ...-for-community-activities-in-this-repo.yml | 2 +- ...e-jira-issues-for-community-activities.yml | 2 +- .../deploy-orchard1-to-azure-app-service.yml | 12 +++++------ .../workflows/deploy-to-azure-app-service.yml | 14 ++++++------- .github/workflows/markdown-lint-this-repo.yml | 2 +- .github/workflows/markdown-lint.yml | 6 +++--- .github/workflows/msbuild-and-test.yml | 12 +++++------ .../post-pull-request-checks-automation.yml | 8 ++++---- .github/workflows/publish-nuget.yml | 8 ++++---- .github/workflows/reset-azure-environment.yml | 6 +++--- .github/workflows/spelling-this-repo.yml | 2 +- .github/workflows/spelling.yml | 8 ++++---- .../workflows/swap-azure-web-app-slots.yml | 6 +++--- .../swap-orchard1-azure-web-app-slots.yml | 6 +++--- .github/workflows/tag-version-this-repo.yml | 2 +- .github/workflows/tag-version.yml | 6 +++--- .github/workflows/test-analysis-failure.yml | 10 +++++----- .github/workflows/validate-pull-request.yml | 4 ++-- .../validate-submodule-pull-request.yml | 4 ++-- .github/workflows/validate-this-gha-refs.yml | 16 +++++++-------- .../workflows/validate-this-pull-request.yml | 2 +- .github/workflows/yaml-lint-this-repo.yml | 2 +- .github/workflows/yaml-lint.yml | 6 +++--- 35 files changed, 114 insertions(+), 114 deletions(-) diff --git a/.github/actions/auto-merge-pull-request/action.yml b/.github/actions/auto-merge-pull-request/action.yml index 6a1688a30..e5c77cb93 100644 --- a/.github/actions/auto-merge-pull-request/action.yml +++ b/.github/actions/auto-merge-pull-request/action.yml @@ -23,7 +23,7 @@ runs: id: check-mergeability # Fork PR runs won't have permissions to remove labels, nor do we want to allow auto-merging them. if: github.event.pull_request.head.repo.fork == false - uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@v1.2.0 with: label1: "merge-if-checks-succeed" label2: "merge-and-resolve-jira-issue-if-checks-succeed" @@ -37,7 +37,7 @@ runs: - name: Remove Label if: steps.check-mergeability.outputs.contains-label == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@v1.2.0 with: token: ${{ env.GITHUB_TOKEN }} labels: merge-if-checks-succeed diff --git a/.github/actions/auto-transition-jira-issue/action.yml b/.github/actions/auto-transition-jira-issue/action.yml index db096d11c..2b7028f02 100644 --- a/.github/actions/auto-transition-jira-issue/action.yml +++ b/.github/actions/auto-transition-jira-issue/action.yml @@ -15,7 +15,7 @@ runs: - name: Check if Should Done id: check-done - uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@v1.2.0 with: label1: "done-jira-issue-if-checks-succeed" label2: "dummy" @@ -23,7 +23,7 @@ runs: - name: Check if Should Resolve id: check-resolve if: steps.check-done.outputs.contains-label == 'false' - uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@v1.2.0 with: label1: "resolve-jira-issue-if-checks-succeed" label2: "merge-and-resolve-jira-issue-if-checks-succeed" @@ -41,7 +41,7 @@ runs: Set-JiraIssueStatus @parameters - name: Remove Label - uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@v1.2.0 with: token: ${{ env.GITHUB_TOKEN }} labels: merge-and-resolve-jira-issue-if-checks-succeed, resolve-jira-issue-if-checks-succeed, done-jira-issue-if-checks-succeed diff --git a/.github/actions/build-dotnet/action.yml b/.github/actions/build-dotnet/action.yml index cc64a5a70..9e1be2e2c 100644 --- a/.github/actions/build-dotnet/action.yml +++ b/.github/actions/build-dotnet/action.yml @@ -204,7 +204,7 @@ runs: Write-Output ("Solution or project build took {0:0.###} seconds." -f ($endTime - $startTime).TotalSeconds) - name: Upload MSBuild Binary Log - uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev + uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@v1.2.0 if: (success() || failure()) && inputs.create-binary-log == 'true' with: name: build-binary-log-${{ steps.build.outputs.artifact-name-suffix }}.binlog diff --git a/.github/actions/markdown-lint/action.yml b/.github/actions/markdown-lint/action.yml index 070b3628c..193d46e85 100644 --- a/.github/actions/markdown-lint/action.yml +++ b/.github/actions/markdown-lint/action.yml @@ -57,7 +57,7 @@ runs: Set-GitHubOutput 'artifact-path' $artifactFolder - name: Upload files fixed by markdown-lint - uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev + uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@v1.2.0 if: inputs.fix == 'true' && steps.markdown-lint-fix-files.outputs.has-fixes == 'true' with: name: markdown-lint-fixed-files diff --git a/.github/actions/precompile-orchard1-app/action.yml b/.github/actions/precompile-orchard1-app/action.yml index 2a384b0ac..22356f349 100644 --- a/.github/actions/precompile-orchard1-app/action.yml +++ b/.github/actions/precompile-orchard1-app/action.yml @@ -55,7 +55,7 @@ runs: if: inputs.repository != '' # Using the official checkout action directly, because our wrapper action doesn't have most of the parameters we # need here. We only need those parameters for this action though. - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: repository: ${{ inputs.repository }} ref: ${{ inputs.checkout-ref }} @@ -63,7 +63,7 @@ runs: path: ${{ inputs.checkout-path }} - name: Enable Node corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 # Calling nuget restore separately on the actual solution, because we're passing Orchard.proj to the msbuild action # instead to be able to call the Precompiled target on it. @@ -72,7 +72,7 @@ runs: run: nuget restore ${{ inputs.checkout-path }}/${{ inputs.solution-path }} - name: Publish Precompiled app - uses: Lombiq/GitHub-Actions/.github/actions/msbuild@dev + uses: Lombiq/GitHub-Actions/.github/actions/msbuild@v1.2.0 with: directory: ${{ inputs.checkout-path }} verbosity: ${{ inputs.verbosity }} diff --git a/.github/actions/publish-nuget/action.yml b/.github/actions/publish-nuget/action.yml index bcc6dff67..b2f591dbc 100644 --- a/.github/actions/publish-nuget/action.yml +++ b/.github/actions/publish-nuget/action.yml @@ -120,7 +120,7 @@ runs: run: Update-ManifestVersion './' '${{ steps.setup.outputs.publish-version }}' - name: Enable Node corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 - name: Generate nuspec file if needed if: hashFiles('ConvertTo-Nuspec.ps1') @@ -128,7 +128,7 @@ runs: run: ./ConvertTo-Nuspec.ps1 '${{ steps.setup.outputs.publish-version }}' - name: Build - uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@v1.2.0 # Notes on the configuration: # * -p:NuGetBuild=true is our property to load Lombiq dependencies from NuGet by switching project references # to package references. @@ -213,14 +213,14 @@ runs: run: dotnet nuget push artifacts/*.nupkg --api-key $Env:API_KEY --source '${{ steps.setup.outputs.source-url }}' --skip-duplicate - name: Publish Artifacts - uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev + uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@v1.2.0 with: name: NuGet-Package path: artifacts retention-days: ${{ inputs.nuget-artifact-retention-days }} - name: Create Release - uses: Lombiq/GitHub-Actions/.github/actions/release-action@dev + uses: Lombiq/GitHub-Actions/.github/actions/release-action@v1.2.0 # This is to prevent creating releases when pushing tags for issue-specific pre-releases like # v4.3.1-alpha.osoe-86. if: "!contains(steps.setup.outputs.publish-version, '-')" diff --git a/.github/actions/spelling/action.yml b/.github/actions/spelling/action.yml index 2effdc400..3ae4aaf1c 100644 --- a/.github/actions/spelling/action.yml +++ b/.github/actions/spelling/action.yml @@ -130,7 +130,7 @@ runs: shell: pwsh run: | $defaultPrefixes = @{ - 'lombiq-lgha' = 'https://raw.githubusercontent.com/Lombiq/GitHub-Actions/dev/.github/actions/spelling/' + 'lombiq-lgha' = 'https://raw.githubusercontent.com/Lombiq/GitHub-Actions/v1.2.0/.github/actions/spelling/' 'cspell' = 'https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/' } diff --git a/.github/actions/test-dotnet/action.yml b/.github/actions/test-dotnet/action.yml index 24a666572..78eb48e2d 100644 --- a/.github/actions/test-dotnet/action.yml +++ b/.github/actions/test-dotnet/action.yml @@ -86,7 +86,7 @@ runs: "Lombiq_Tests_UI__OrchardCoreUITestExecutorConfiguration__MaxParallelTests=${{ inputs.ui-test-parallelism }}" >> $Env:GITHUB_ENV - name: Install dotnet-dump - uses: Lombiq/GitHub-Actions/.github/actions/install-dotnet-tool@dev + uses: Lombiq/GitHub-Actions/.github/actions/install-dotnet-tool@v1.2.0 with: name: dotnet-dump version: 8.0.510501 @@ -121,7 +121,7 @@ runs: # Under Windows this can fail with "ENOENT: no such file or directory" if the path is too long, see # https://github.com/actions/upload-artifact/issues/240. - name: Upload UI Testing Artifacts - uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev + uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@v1.2.0 # We don't need additional conditions, because of the "if-no-files-found" setting. if: (success() || failure()) && steps.run-tests.outputs.test-count != 0 with: @@ -137,7 +137,7 @@ runs: run: Merge-BlameHangDumps -Directory "${{ inputs.build-directory }}" -Configuration "${{ inputs.test-configuration }}" - name: Upload BlameHangDumps - uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev + uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@v1.2.0 if: failure() && steps.run-tests.outputs.test-count != 0 && inputs.blame-hang-timeout != '' && steps.merge-blame-hang-dumps.outputs.dump-count != 0 with: name: ui-test-blame-hang-dump-${{ steps.setup.outputs.artifact-name-suffix }} @@ -146,7 +146,7 @@ runs: retention-days: ${{ inputs.ui-test-artifact-retention-days }} - name: Upload DotnetTestHangDumps - uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev + uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@v1.2.0 if: (success() || failure()) && steps.run-tests.outputs.test-count != 0 && steps.run-tests.outputs.dotnet-test-hang-dump != 0 with: name: dotnet-test-hang-dump-${{ steps.setup.outputs.artifact-name-suffix }} diff --git a/.github/actions/verify-dotnet-consolidation/action.yml b/.github/actions/verify-dotnet-consolidation/action.yml index 2e6b6553e..d576c9bd8 100644 --- a/.github/actions/verify-dotnet-consolidation/action.yml +++ b/.github/actions/verify-dotnet-consolidation/action.yml @@ -39,7 +39,7 @@ runs: (Resolve-Path "${{ github.action_path }}/../../../Scripts").Path >> $Env:GITHUB_PATH - name: Install dotnet-consolidate - uses: Lombiq/GitHub-Actions/.github/actions/install-dotnet-tool@dev + uses: Lombiq/GitHub-Actions/.github/actions/install-dotnet-tool@v1.2.0 with: name: dotnet-consolidate version: 4.2.0 diff --git a/.github/workflows/build-and-test-dotnet.yml b/.github/workflows/build-and-test-dotnet.yml index b5efb24d2..522d1c398 100644 --- a/.github/workflows/build-and-test-dotnet.yml +++ b/.github/workflows/build-and-test-dotnet.yml @@ -187,25 +187,25 @@ jobs: cancel-in-progress: ${{ inputs.cancel-in-progress-for-this-pr == 'true' }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Verify that .NET packages are consolidated if: ${{ inputs.verify-dotnet-consolidation }} - uses: Lombiq/GitHub-Actions/.github/actions/verify-dotnet-consolidation@dev + uses: Lombiq/GitHub-Actions/.github/actions/verify-dotnet-consolidation@v1.2.0 with: directory: ${{ inputs.build-directory }} exclude-version-regex: ${{ inputs.dotnet-consolidation-exclude-version-regex }} exclude-project-path: ${{ inputs.dotnet-consolidation-exclude-project-path }} - name: Build and Static Code Analysis - uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@v1.2.0 with: directory: ${{ inputs.build-directory}} configuration: ${{ inputs.build-configuration}} @@ -221,7 +221,7 @@ jobs: - name: Tests if: inputs.test-disable == 'false' - uses: Lombiq/GitHub-Actions/.github/actions/test-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/test-dotnet@v1.2.0 with: blame-hang-timeout: ${{ inputs.blame-hang-timeout }} build-directory: ${{ inputs.build-directory }} @@ -233,6 +233,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-and-test-orchard-core.yml b/.github/workflows/build-and-test-orchard-core.yml index e2b047dd8..5f3367af7 100644 --- a/.github/workflows/build-and-test-orchard-core.yml +++ b/.github/workflows/build-and-test-orchard-core.yml @@ -210,28 +210,28 @@ jobs: cancel-in-progress: ${{ inputs.cancel-in-progress-for-this-pr == 'true' }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Verify that .NET packages are consolidated if: ${{ inputs.verify-dotnet-consolidation }} - uses: Lombiq/GitHub-Actions/.github/actions/verify-dotnet-consolidation@dev + uses: Lombiq/GitHub-Actions/.github/actions/verify-dotnet-consolidation@v1.2.0 with: directory: ${{ inputs.build-directory }} exclude-version-regex: ${{ inputs.dotnet-consolidation-exclude-version-regex }} exclude-project-path: ${{ inputs.dotnet-consolidation-exclude-project-path }} - name: Enable Node.js corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 - name: Build and Static Code Analysis - uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@v1.2.0 with: directory: ${{ inputs.build-directory }} configuration: ${{ inputs.build-configuration}} @@ -247,21 +247,21 @@ jobs: - name: Print configuration summary if: inputs.print-config-summary == 'true' && (success() || failure()) - uses: Lombiq/GitHub-Actions/.github/actions/print-config-summary@dev + uses: Lombiq/GitHub-Actions/.github/actions/print-config-summary@v1.2.0 - name: Set up SQL Server if: inputs.set-up-sql-server == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/setup-sql-server@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-sql-server@v1.2.0 - name: Set up Azurite if: inputs.set-up-azurite == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/setup-azurite@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-azurite@v1.2.0 with: location: ${{ inputs.build-directory}} - name: Tests if: inputs.test-disable == 'false' - uses: Lombiq/GitHub-Actions/.github/actions/test-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/test-dotnet@v1.2.0 with: blame-hang-timeout: ${{ inputs.blame-hang-timeout }} build-directory: ${{ inputs.build-directory }} @@ -275,6 +275,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-dotnet.yml b/.github/workflows/build-dotnet.yml index 44b7bb685..d8fc79458 100644 --- a/.github/workflows/build-dotnet.yml +++ b/.github/workflows/build-dotnet.yml @@ -88,23 +88,23 @@ jobs: Write-Output '::warning::This workflow is deprecated. Use build-and-test-dotnet instead, that can also execute tests.' - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Verify that .NET packages are consolidated if: ${{ inputs.verify-dotnet-consolidation }} - uses: Lombiq/GitHub-Actions/.github/actions/verify-dotnet-consolidation@dev + uses: Lombiq/GitHub-Actions/.github/actions/verify-dotnet-consolidation@v1.2.0 with: directory: ${{ inputs.build-directory }} - name: Build and Static Code Analysis - uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@v1.2.0 with: directory: ${{ inputs.build-directory}} verbosity: ${{ inputs.build-verbosity}} @@ -115,6 +115,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/create-jira-issues-for-community-activities-in-this-repo.yml b/.github/workflows/create-jira-issues-for-community-activities-in-this-repo.yml index 7b307e153..9d9c89bb5 100644 --- a/.github/workflows/create-jira-issues-for-community-activities-in-this-repo.yml +++ b/.github/workflows/create-jira-issues-for-community-activities-in-this-repo.yml @@ -11,7 +11,7 @@ on: jobs: create-jira-issues-for-community-activities: name: Create Jira issues for community activities - uses: Lombiq/GitHub-Actions/.github/workflows/create-jira-issues-for-community-activities.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/create-jira-issues-for-community-activities.yml@v1.2.0 secrets: JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.DEFAULT_JIRA_USER_EMAIL }} diff --git a/.github/workflows/create-jira-issues-for-community-activities.yml b/.github/workflows/create-jira-issues-for-community-activities.yml index 939b6c970..1d8423b76 100644 --- a/.github/workflows/create-jira-issues-for-community-activities.yml +++ b/.github/workflows/create-jira-issues-for-community-activities.yml @@ -60,7 +60,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Create Jira issues for community activities - uses: Lombiq/GitHub-Actions/.github/actions/create-jira-issues-for-community-activities@dev + uses: Lombiq/GitHub-Actions/.github/actions/create-jira-issues-for-community-activities@v1.2.0 env: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} diff --git a/.github/workflows/deploy-orchard1-to-azure-app-service.yml b/.github/workflows/deploy-orchard1-to-azure-app-service.yml index c293d1925..98bf7d357 100644 --- a/.github/workflows/deploy-orchard1-to-azure-app-service.yml +++ b/.github/workflows/deploy-orchard1-to-azure-app-service.yml @@ -122,12 +122,12 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Enable Node corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 # Calling nuget restore separately on the actual solution, because we're passing Orchard.proj to the msbuild # action instead to be able to call the Precompiled target. @@ -135,7 +135,7 @@ jobs: run: nuget restore ${{ inputs.build-directory }}\${{ inputs.solution-or-project-path }} - name: Publish Precompiled App - uses: Lombiq/GitHub-Actions/.github/actions/msbuild@dev + uses: Lombiq/GitHub-Actions/.github/actions/msbuild@v1.2.0 with: solution-or-project-path: Orchard.proj verbosity: ${{ inputs.build-verbosity }} @@ -146,7 +146,7 @@ jobs: /p:Solution=${{ inputs.build-directory }}\${{ inputs.solution-or-project-path }} - name: Login to Azure - uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@dev + uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@v1.2.0 env: AZURE_CLIENT_ID: ${{ secrets.AZURE_APP_SERVICE_DEPLOYMENT_SERVICE_PRINCIPAL_ID }} AZURE_TENANT_ID: ${{ secrets.AZURE_APP_SERVICE_DEPLOYMENT_AZURE_TENANT_ID }} @@ -177,7 +177,7 @@ jobs: - name: Add Azure Application Insights Release Annotation if: ${{ inputs.application-insights-resource-id != '' }} - uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@v1.2.0 with: release-name: 'Deploy #${{ github.run_number }} to ${{ inputs.slot-name }}' application-insights-resource-id: ${{ inputs.application-insights-resource-id }} @@ -210,6 +210,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/deploy-to-azure-app-service.yml b/.github/workflows/deploy-to-azure-app-service.yml index c54754748..dbc60576b 100644 --- a/.github/workflows/deploy-to-azure-app-service.yml +++ b/.github/workflows/deploy-to-azure-app-service.yml @@ -144,17 +144,17 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Enable Node corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 # If runtime is defined, we need to add "--runtime=" to the string so it will be a valid build/publish option. The # "build-dotnet" action requires the additional switches to be in separate lines (even the parameters), but we can @@ -166,7 +166,7 @@ jobs: "runtime-option=--runtime=${{ inputs.runtime }}" >> $Env:GITHUB_OUTPUT - name: Build and Static Code Analysis - uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@v1.2.0 with: directory: ${{ inputs.build-directory }} verbosity: ${{ inputs.build-verbosity }} @@ -199,7 +199,7 @@ jobs: Compress-Archive -Path .\Published\* -DestinationPath .\Published.zip - name: Login to Azure - uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@dev + uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@v1.2.0 env: AZURE_CLIENT_ID: ${{ secrets.AZURE_APP_SERVICE_DEPLOYMENT_SERVICE_PRINCIPAL_ID }} AZURE_TENANT_ID: ${{ secrets.AZURE_APP_SERVICE_DEPLOYMENT_AZURE_TENANT_ID }} @@ -228,7 +228,7 @@ jobs: clean: false - name: Add Azure Application Insights Release Annotation - uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@v1.2.0 with: release-name: 'Deploy #${{ github.run_number }} to ${{ inputs.slot-name }}' application-insights-resource-id: ${{ inputs.application-insights-resource-id }} @@ -249,6 +249,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/markdown-lint-this-repo.yml b/.github/workflows/markdown-lint-this-repo.yml index 0da9c27ee..d4d3ffcb4 100644 --- a/.github/workflows/markdown-lint-this-repo.yml +++ b/.github/workflows/markdown-lint-this-repo.yml @@ -10,7 +10,7 @@ on: jobs: markdown-linting: name: Markdown Linting - uses: Lombiq/GitHub-Actions/.github/workflows/markdown-lint.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/markdown-lint.yml@v1.2.0 with: globs: '**/*.{md,markdown};!License.md' separator: ';' diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index 8834ddca4..e44e0b73a 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -43,12 +43,12 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Markdown Linting - uses: Lombiq/GitHub-Actions/.github/actions/markdown-lint@dev + uses: Lombiq/GitHub-Actions/.github/actions/markdown-lint@v1.2.0 with: config: ${{ inputs.config }} fix: ${{ inputs.fix }} @@ -57,6 +57,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/msbuild-and-test.yml b/.github/workflows/msbuild-and-test.yml index 02ee9116e..0cb609e60 100644 --- a/.github/workflows/msbuild-and-test.yml +++ b/.github/workflows/msbuild-and-test.yml @@ -103,19 +103,19 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Enable Node corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 # This is necessary for building Gulp Extensions and test-dotnet. - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 - name: Build and Static Code Analysis - uses: Lombiq/GitHub-Actions/.github/actions/msbuild@dev + uses: Lombiq/GitHub-Actions/.github/actions/msbuild@v1.2.0 with: directory: ${{ inputs.build-directory }} solution-or-project-path: ${{ inputs.solution-or-project-path }} @@ -125,7 +125,7 @@ jobs: - name: Tests if: inputs.test-disable == 'false' - uses: Lombiq/GitHub-Actions/.github/actions/test-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/test-dotnet@v1.2.0 with: build-directory: ${{ inputs.build-directory }} dotnet-test-process-timeout: ${{ inputs.dotnet-test-process-timeout }} @@ -135,6 +135,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/post-pull-request-checks-automation.yml b/.github/workflows/post-pull-request-checks-automation.yml index 35ca9dd22..e3d7751db 100644 --- a/.github/workflows/post-pull-request-checks-automation.yml +++ b/.github/workflows/post-pull-request-checks-automation.yml @@ -58,7 +58,7 @@ jobs: steps: - name: Check Further Steps Should Run if: inputs.run-only-latest-workflow == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/check-current-workflow-is-latest@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-current-workflow-is-latest@v1.2.0 id: check-steps-should-run env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -76,7 +76,7 @@ jobs: - name: Automatically Merge Pull Request if: steps.check-steps-should-run.outputs.is-latest != 'false' - uses: Lombiq/GitHub-Actions/.github/actions/auto-merge-pull-request@dev + uses: Lombiq/GitHub-Actions/.github/actions/auto-merge-pull-request@v1.2.0 env: GITHUB_TOKEN: ${{ env.MERGE_TOKEN }} with: @@ -84,7 +84,7 @@ jobs: - name: Automatically Transition Jira issue if: steps.check-steps-should-run.outputs.is-latest != 'false' - uses: Lombiq/GitHub-Actions/.github/actions/auto-transition-jira-issue@dev + uses: Lombiq/GitHub-Actions/.github/actions/auto-transition-jira-issue@v1.2.0 env: GITHUB_TOKEN: ${{ env.MERGE_TOKEN }} JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} @@ -93,7 +93,7 @@ jobs: - name: Remove Label if: steps.check-steps-should-run.outputs.is-latest != 'false' - uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@v1.2.0 with: token: ${{ env.MERGE_TOKEN }} labels: merge-and-resolve-jira-issue-if-checks-succeed diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 281af3c9f..2912b8498 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -65,17 +65,17 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Publish to NuGet - uses: Lombiq/GitHub-Actions/.github/actions/publish-nuget@dev + uses: Lombiq/GitHub-Actions/.github/actions/publish-nuget@v1.2.0 with: source: ${{ inputs.source }} verbosity: ${{ inputs.verbosity }} @@ -89,6 +89,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/reset-azure-environment.yml b/.github/workflows/reset-azure-environment.yml index 84e1b4be8..1b2c0a962 100644 --- a/.github/workflows/reset-azure-environment.yml +++ b/.github/workflows/reset-azure-environment.yml @@ -133,7 +133,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Login to Azure - uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@dev + uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@v1.2.0 env: AZURE_CLIENT_ID: ${{ secrets.AZURE_APP_SERVICE_RESET_SERVICE_PRINCIPAL_ID }} AZURE_TENANT_ID: ${{ secrets.AZURE_APP_SERVICE_RESET_AZURE_TENANT_ID }} @@ -193,7 +193,7 @@ jobs: - name: Add Azure Application Insights Release Annotation if: ${{ inputs.application-insights-resource-id != '' }} - uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@v1.2.0 with: release-name: 'Reset #${{ github.run_number }} from ${{ inputs.source-slot-name }} to ${{ inputs.destination-slot-name }}' application-insights-resource-id: ${{ inputs.application-insights-resource-id }} @@ -235,6 +235,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/spelling-this-repo.yml b/.github/workflows/spelling-this-repo.yml index cc1d2dd9b..7854fe0b0 100644 --- a/.github/workflows/spelling-this-repo.yml +++ b/.github/workflows/spelling-this-repo.yml @@ -11,7 +11,7 @@ on: jobs: spelling: name: Spelling - uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/spelling.yml@v1.2.0 with: additional-dictionaries: | cspell:companies/src/companies.txt diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 8808148f0..bbe3683e7 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -94,7 +94,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} @@ -111,7 +111,7 @@ jobs: - name: Check Spelling id: check-spelling-action - uses: Lombiq/GitHub-Actions/.github/actions/spelling@dev + uses: Lombiq/GitHub-Actions/.github/actions/spelling@v1.2.0 with: merge-file-excludes: ${{ inputs.merge-file-excludes }} merge-forbidden-patterns: ${{ inputs.merge-forbidden-patterns }} @@ -125,7 +125,7 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -138,7 +138,7 @@ jobs: if: always() && needs.check-spelling.outputs.followup && github.event_name == 'pull_request' steps: - name: Comment (PR) - uses: Lombiq/GitHub-Actions/.github/actions/spelling@dev + uses: Lombiq/GitHub-Actions/.github/actions/spelling@v1.2.0 with: post-comment: 1 task: ${{ needs.check-spelling.outputs.followup }} diff --git a/.github/workflows/swap-azure-web-app-slots.yml b/.github/workflows/swap-azure-web-app-slots.yml index aa0901531..c70b47a80 100644 --- a/.github/workflows/swap-azure-web-app-slots.yml +++ b/.github/workflows/swap-azure-web-app-slots.yml @@ -81,7 +81,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Login to Azure - uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@dev + uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@v1.2.0 env: AZURE_CLIENT_ID: ${{ secrets.AZURE_APP_SERVICE_SWAP_SERVICE_PRINCIPAL_ID }} AZURE_TENANT_ID: ${{ secrets.AZURE_APP_SERVICE_SWAP_AZURE_TENANT_ID }} @@ -106,7 +106,7 @@ jobs: -DestinationSlotName ${{ inputs.destination-slot-name }} - name: Add Azure Application Insights Release Annotation - uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@v1.2.0 with: release-name: 'Swap #${{ github.run_number }} from ${{ inputs.source-slot-name }} to ${{ inputs.destination-slot-name }}' application-insights-resource-id: ${{ inputs.application-insights-resource-id }} @@ -120,6 +120,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/swap-orchard1-azure-web-app-slots.yml b/.github/workflows/swap-orchard1-azure-web-app-slots.yml index 30c9def3f..84a393f71 100644 --- a/.github/workflows/swap-orchard1-azure-web-app-slots.yml +++ b/.github/workflows/swap-orchard1-azure-web-app-slots.yml @@ -92,7 +92,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Login to Azure - uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@dev + uses: Lombiq/GitHub-Actions/.github/actions/login-to-azure@v1.2.0 env: AZURE_CLIENT_ID: ${{ secrets.AZURE_APP_SERVICE_SWAP_SERVICE_PRINCIPAL_ID }} AZURE_TENANT_ID: ${{ secrets.AZURE_APP_SERVICE_SWAP_AZURE_TENANT_ID }} @@ -111,7 +111,7 @@ jobs: - name: Add Azure Application Insights Release Annotation if: ${{ inputs.application-insights-resource-id != '' }} - uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@dev + uses: Lombiq/GitHub-Actions/.github/actions/add-azure-application-insights-release-annotation@v1.2.0 with: release-name: 'Swap #${{ github.run_number }} from ${{ inputs.source-slot-name }} to ${{ inputs.destination-slot-name }}' application-insights-resource-id: ${{ inputs.application-insights-resource-id }} @@ -130,6 +130,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tag-version-this-repo.yml b/.github/workflows/tag-version-this-repo.yml index 2105aea5d..ada4bcfd1 100644 --- a/.github/workflows/tag-version-this-repo.yml +++ b/.github/workflows/tag-version-this-repo.yml @@ -9,7 +9,7 @@ jobs: run: name: Tag Version Automation if: github.event.pusher.name != 'LombiqBot' - uses: Lombiq/GitHub-Actions/.github/workflows/tag-version.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/tag-version.yml@v1.2.0 with: additional-pattern-include-list: '@("https://raw.githubusercontent.com/Lombiq/GitHub-Actions/(?[\w\./-]*)/.github")' secrets: diff --git a/.github/workflows/tag-version.yml b/.github/workflows/tag-version.yml index 42c4e9274..5bf9ecf37 100644 --- a/.github/workflows/tag-version.yml +++ b/.github/workflows/tag-version.yml @@ -67,7 +67,7 @@ jobs: steps: - name: Checkout Repository - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.TAG_VERSION_TOKEN }} @@ -82,7 +82,7 @@ jobs: Set-GitHubOutput -Key 'tagname' -Value $tagname - name: Set Ref for GitHub Actions and Workflows - uses: Lombiq/GitHub-Actions/.github/actions/set-gha-refs@dev + uses: Lombiq/GitHub-Actions/.github/actions/set-gha-refs@v1.2.0 with: path-include-list: ${{ inputs.path-include-list }} file-include-list: ${{ inputs.file-include-list }} @@ -101,7 +101,7 @@ jobs: run: git push --tags --force - name: Create Release - uses: Lombiq/GitHub-Actions/.github/actions/release-action@dev + uses: Lombiq/GitHub-Actions/.github/actions/release-action@v1.2.0 # This is to prevent creating releases when pushing tags for issue-specific pre-releases like # v4.3.1-alpha.osoe-86. if: "!contains(steps.determine-tag.outputs.tagname, '-')" diff --git a/.github/workflows/test-analysis-failure.yml b/.github/workflows/test-analysis-failure.yml index 076e3a15a..831111718 100644 --- a/.github/workflows/test-analysis-failure.yml +++ b/.github/workflows/test-analysis-failure.yml @@ -74,20 +74,20 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: Set up .NET - uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/setup-dotnet@v1.2.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Enable Node corepack - uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev + uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@v1.2.0 - name: Build and Static Code Analysis - uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@dev + uses: Lombiq/GitHub-Actions/.github/actions/build-dotnet@v1.2.0 with: directory: ${{ inputs.build-directory }} verbosity: quiet @@ -99,6 +99,6 @@ jobs: - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/validate-pull-request.yml b/.github/workflows/validate-pull-request.yml index d892b20cb..b5dbcdadb 100644 --- a/.github/workflows/validate-pull-request.yml +++ b/.github/workflows/validate-pull-request.yml @@ -22,12 +22,12 @@ jobs: steps: - name: Update GitHub issue and Pull Request if: (github.event_name == 'pull_request_target' || github.event_name == 'pull_request') && github.event.action == 'opened' - uses: Lombiq/GitHub-Actions/.github/actions/update-github-issue-and-pull-request@dev + uses: Lombiq/GitHub-Actions/.github/actions/update-github-issue-and-pull-request@v1.2.0 env: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check for Merge Conflict in PR - uses: Lombiq/GitHub-Actions/.github/actions/check-merge-conflict@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-merge-conflict@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/validate-submodule-pull-request.yml b/.github/workflows/validate-submodule-pull-request.yml index 701bde3a1..4847a687c 100644 --- a/.github/workflows/validate-submodule-pull-request.yml +++ b/.github/workflows/validate-submodule-pull-request.yml @@ -34,14 +34,14 @@ jobs: steps: - name: Update GitHub issue and Pull Request if: (github.event_name == 'pull_request_target' || github.event_name == 'pull_request') && github.event.action == 'opened' - uses: Lombiq/GitHub-Actions/.github/actions/update-github-issue-and-pull-request@dev + uses: Lombiq/GitHub-Actions/.github/actions/update-github-issue-and-pull-request@v1.2.0 env: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Ensure Parent PR Exists if: github.event.pull_request != '' - uses: Lombiq/GitHub-Actions/.github/actions/verify-submodule-pull-request@dev + uses: Lombiq/GitHub-Actions/.github/actions/verify-submodule-pull-request@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.PARENT_TOKEN != '' && secrets.PARENT_TOKEN || secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/validate-this-gha-refs.yml b/.github/workflows/validate-this-gha-refs.yml index e822df0d4..216b5cb84 100644 --- a/.github/workflows/validate-this-gha-refs.yml +++ b/.github/workflows/validate-this-gha-refs.yml @@ -14,18 +14,18 @@ jobs: steps: - name: Checkout Repository (Pull & Approve/Merge PR) if: github.event_name == 'pull_request' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || github.event_name == 'merge_group' - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: fetch-depth: 0 - name: Checkout Repository (Push) if: github.event_name == 'push' - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 - name: Check Merge Queue Adds id: check-merge-queue-adds if: github.event_name == 'pull_request' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') - uses: Lombiq/GitHub-Actions/.github/actions/check-merge-queue-adds@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-merge-queue-adds@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -44,7 +44,7 @@ jobs: - name: Get Applicable Git File Changes id: git-diff if: github.event_name == 'pull_request' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || github.event_name == 'merge_group' - uses: Lombiq/GitHub-Actions/.github/actions/get-changed-files-from-git-diff@dev + uses: Lombiq/GitHub-Actions/.github/actions/get-changed-files-from-git-diff@v1.2.0 with: left-commit: ${{ github.event_name == 'merge_group' && github.event.merge_group.base_sha || github.event.pull_request.base.sha }} right-commit: ${{ github.sha }} @@ -53,7 +53,7 @@ jobs: - name: Get GitHub Actions Item Changes from File Changes id: changed-items if: github.event_name == 'pull_request' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || github.event_name == 'merge_group' - uses: Lombiq/GitHub-Actions/.github/actions/get-changed-gha-items@dev + uses: Lombiq/GitHub-Actions/.github/actions/get-changed-gha-items@v1.2.0 with: file-include-list: '${{ steps.git-diff.outputs.changed-files }}' @@ -72,7 +72,7 @@ jobs: - name: Check PR Reviews id: check-pr-reviews if: github.event_name == 'pull_request' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') - uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-reviews@dev + uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-reviews@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -111,11 +111,11 @@ jobs: - name: Verify GitHub Actions Items Match Expected Ref (Pull & Approve/Merge PR) if: (github.event_name == 'pull_request' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved') || github.event_name == 'merge_group') && steps.add-prefix.outputs.prefixed-files != '@()' - uses: Lombiq/GitHub-Actions/.github/actions/verify-gha-refs@dev + uses: Lombiq/GitHub-Actions/.github/actions/verify-gha-refs@v1.2.0 with: called-repo-base-include-list: '${{ steps.add-prefix.outputs.prefixed-files }}' expected-ref: ${{ steps.determine-ref.outputs.expected-ref }} - name: Verify GitHub Actions Items Match Expected Ref (Push) if: github.event_name == 'push' - uses: Lombiq/GitHub-Actions/.github/actions/verify-gha-refs@dev + uses: Lombiq/GitHub-Actions/.github/actions/verify-gha-refs@v1.2.0 diff --git a/.github/workflows/validate-this-pull-request.yml b/.github/workflows/validate-this-pull-request.yml index c5abe45dc..5a5597714 100644 --- a/.github/workflows/validate-this-pull-request.yml +++ b/.github/workflows/validate-this-pull-request.yml @@ -7,4 +7,4 @@ on: jobs: validate-pull-request: - uses: Lombiq/GitHub-Actions/.github/workflows/validate-submodule-pull-request.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/validate-submodule-pull-request.yml@v1.2.0 diff --git a/.github/workflows/yaml-lint-this-repo.yml b/.github/workflows/yaml-lint-this-repo.yml index beca90419..78761db3c 100644 --- a/.github/workflows/yaml-lint-this-repo.yml +++ b/.github/workflows/yaml-lint-this-repo.yml @@ -10,7 +10,7 @@ on: jobs: yaml-linting: name: YAML Linting - uses: Lombiq/GitHub-Actions/.github/workflows/yaml-lint.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/yaml-lint.yml@v1.2.0 with: config-file-path: '.trunk/configs/.yamllint.yaml' search-path: '.' diff --git a/.github/workflows/yaml-lint.yml b/.github/workflows/yaml-lint.yml index 749776747..12453c8f1 100644 --- a/.github/workflows/yaml-lint.yml +++ b/.github/workflows/yaml-lint.yml @@ -38,18 +38,18 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout - uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev + uses: Lombiq/GitHub-Actions/.github/actions/checkout@v1.2.0 with: token: ${{ secrets.CHECKOUT_TOKEN }} - name: YAML Linting - uses: Lombiq/GitHub-Actions/.github/actions/yaml-lint@dev + uses: Lombiq/GitHub-Actions/.github/actions/yaml-lint@v1.2.0 with: config-file-path: ${{ inputs.config-file-path }} search-path: ${{ inputs.search-path }} - name: Cancel Workflow on Failure if: failure() && inputs.cancel-workflow-on-failure == 'true' - uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@dev + uses: Lombiq/GitHub-Actions/.github/actions/cancel-workflow@v1.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}