-
-
Notifications
You must be signed in to change notification settings - Fork 31k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.12] gh-122965: Fix
reusable-change-detection.yml
on `workflow_di…
…spatch` (GH-122966) (#123009) gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH-122966) (cherry picked from commit 6ae942f) Co-authored-by: sobolevn <[email protected]>
- Loading branch information
1 parent
344a7b5
commit ecf9971
Showing
2 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,13 +126,18 @@ jobs: | |
.github/workflows/reusable-docs.yml | ||
format: csv # works for paths with spaces | ||
- name: Check for docs changes | ||
# We only want to run this on PRs when related files are changed, | ||
# or when user triggers manual workflow run. | ||
if: >- | ||
github.event_name == 'pull_request' | ||
&& steps.changed-docs-files.outputs.added_modified_renamed != '' | ||
( | ||
github.event_name == 'pull_request' | ||
&& steps.changed-docs-files.outputs.added_modified_renamed != '' | ||
) || github.event_name == 'workflow_dispatch' | ||
id: docs-changes | ||
run: | | ||
echo "run-docs=true" >> "${GITHUB_OUTPUT}" | ||
- name: Get a list of the MSI installer-related files | ||
if: github.event_name == 'pull_request' | ||
id: changed-win-msi-files | ||
uses: Ana06/[email protected] | ||
with: | ||
|
@@ -141,10 +146,13 @@ jobs: | |
.github/workflows/reusable-windows-msi.yml | ||
format: csv # works for paths with spaces | ||
- name: Check for changes in MSI installer-related files | ||
# We only want to run this on PRs when related files are changed, | ||
# or when user triggers manual workflow run. | ||
if: >- | ||
steps.changed-win-msi-files.outputs.added_modified_renamed != '' | ||
( | ||
github.event_name == 'pull_request' | ||
&& steps.changed-win-msi-files.outputs.added_modified_renamed != '' | ||
) || github.event_name == 'workflow_dispatch' | ||
id: win-msi-changes | ||
run: | | ||
echo "run-win-msi=true" >> "${GITHUB_OUTPUT}" | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters