Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/auto-merge-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@issue/OSOE-1308
with:
label1: merge-if-checks-succeed
label2: merge-and-resolve-jira-issue-if-checks-succeed
Expand All @@ -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@issue/OSOE-1308
with:
token: ${{ env.GITHUB_TOKEN }}
labels: merge-if-checks-succeed
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/auto-transition-jira-issue/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ 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@issue/OSOE-1308
with:
label1: done-jira-issue-if-checks-succeed
label2: dummy

- 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@issue/OSOE-1308
with:
label1: resolve-jira-issue-if-checks-succeed
label2: merge-and-resolve-jira-issue-if-checks-succeed
Expand All @@ -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@issue/OSOE-1308
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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,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@issue/OSOE-1308
if: (success() || failure()) && inputs.create-binary-log == 'true'
with:
name: build-binary-log-${{ steps.build.outputs.artifact-name-suffix }}.binlog
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/checkout/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
(Resolve-Path '${{ github.action_path }}/../../../Scripts').Path >> $Env:GITHUB_PATH

- name: Set Checkout Token
uses: Lombiq/GitHub-Actions/.github/actions/set-checkout-token@dev
uses: Lombiq/GitHub-Actions/.github/actions/set-checkout-token@issue/OSOE-1308
with:
checkout-token: ${{ inputs.token }}

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/mark-breaking-changes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
(Resolve-Path '${{ github.action_path }}/../../../Scripts').Path >> $Env:GITHUB_PATH

- name: Update Breaking Changes Label
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@issue/OSOE-1308
with:
token: ${{ env.GITHUB_TOKEN }}
label: breaking-changes
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/markdown-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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@issue/OSOE-1308
if: inputs.fix == 'true' && steps.markdown-lint-fix-files.outputs.has-fixes == 'true'
with:
name: markdown-lint-fixed-files
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/mirror-branches/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ runs:

- name: Get source branches
id: get-source-branches
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@dev
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@issue/OSOE-1308
with:
repository: ${{ inputs.source-repository }}
# When empty, source token falls back to destination token, which still works for a public source repository.
api-token: ${{ inputs.source-token == '' && inputs.destination-token || inputs.source-token }}

- name: Get destination branches
id: get-destination-branches
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@dev
uses: Lombiq/GitHub-Actions/.github/actions/get-branches@issue/OSOE-1308
with:
repository: ${{ inputs.destination-repository }}
api-token: ${{ inputs.destination-token }}
Expand All @@ -100,7 +100,7 @@ runs:

- name: Checkout source repository
if: steps.find-branches.outputs.first-branch-name != ''
uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev
uses: Lombiq/GitHub-Actions/.github/actions/checkout@issue/OSOE-1308
with:
repository: ${{ inputs.source-repository }}
ref: ${{ steps.find-branches.outputs.first-branch-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/msbuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,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@issue/OSOE-1308
if: (success() || failure()) && inputs.create-binary-log == 'true'
with:
name: build-binary-log.binlog
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/precompile-orchard1-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ runs:
steps:
- name: Checkout
if: inputs.repository != ''
uses: Lombiq/GitHub-Actions/.github/actions/checkout@dev
uses: Lombiq/GitHub-Actions/.github/actions/checkout@issue/OSOE-1308
with:
repository: ${{ inputs.repository }}
ref: ${{ inputs.checkout-ref }}
token: ${{ inputs.token }}
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@issue/OSOE-1308

# 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.
Expand All @@ -70,7 +70,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@issue/OSOE-1308
with:
directory: ${{ inputs.checkout-path }}
verbosity: ${{ inputs.verbosity }}
Expand Down
14 changes: 7 additions & 7 deletions .github/actions/publish-nuget/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ runs:

- name: Enable Node corepack
if: inputs.enable-corepack == 'true'
uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev
uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@issue/OSOE-1308

- name: Generate nuspec file if needed
if: hashFiles('ConvertTo-Nuspec.ps1')
shell: pwsh
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@issue/OSOE-1308
# Notes on the configuration:
# * -p:NuGetBuild=true is our property to load Lombiq dependencies from NuGet by switching project references
# to package references.
Expand Down Expand Up @@ -306,38 +306,38 @@ runs:
- name: Check for ignore-breaking-changes Label
id: check-ignore-breaking
if: ${{ (failure() || success()) && inputs.mark-breaking-changes == 'true' && github.event_name == 'pull_request' }}
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@dev
uses: Lombiq/GitHub-Actions/.github/actions/check-pull-request-labels@issue/OSOE-1308
with:
label1: ignore-breaking-changes

- name: Mark Breaking Changes on Pull Request
if: ${{ (failure() || success()) &&
inputs.mark-breaking-changes == 'true' &&
github.event_name == 'pull_request' }}
uses: Lombiq/GitHub-Actions/.github/actions/mark-breaking-changes@dev
uses: Lombiq/GitHub-Actions/.github/actions/mark-breaking-changes@issue/OSOE-1308
with:
is-breaking: ${{ steps.check-ignore-breaking.outputs.contains-label == 'true' && 'false' || steps.pack.outputs.is-breaking == 'true' }}
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}

- name: Upload NuGet Package Artifact
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
with:
name: NuGet-Package
path: artifacts
retention-days: ${{ inputs.nuget-artifact-retention-days }}

- name: Upload CompatibilitySuppressions File Artifact
if: success() || failure()
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@dev
uses: Lombiq/GitHub-Actions/.github/actions/upload-artifact@issue/OSOE-1308
with:
name: CompatibilitySuppressions
path: CompatibilitySuppressions
retention-days: 1
if-no-files-found: ignore

- name: Create Release
uses: Lombiq/GitHub-Actions/.github/actions/release-action@dev
uses: Lombiq/GitHub-Actions/.github/actions/release-action@issue/OSOE-1308
# Also preventing creating releases when pushing tags for issue-specific pre-releases like v4.3.1-alpha.osoe-86.
if: inputs.dry-run != 'true' && !contains(steps.setup.outputs.publish-version, '-')
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-sql-server/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:

# Installs the SQL Server command-line tools if they're not present (necessary for Ubuntu 24.04-based runners).
- name: Install sqlcmd
uses: Lombiq/GitHub-Actions/.github/actions/install-sqlcmd@dev
uses: Lombiq/GitHub-Actions/.github/actions/install-sqlcmd@issue/OSOE-1308

# Needs to be a separate step, otherwise the Chocolatey installation won't be visible.
- name: Wait for SQL Server to start
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/spelling/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/issue/OSOE-1308/.github/actions/spelling/'
'cspell' = 'https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/'
}

Expand Down
Loading