Skip to content

Commit 623876d

Browse files
committed
adjust for rebase
1 parent 323012a commit 623876d

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/scripts/download-bundled/make-workflow-file.php

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ public function makeWorkflowFile(): void
8686
name: Verify Bundled Files
8787
8888
on:
89-
push: ~
90-
pull_request: ~
89+
push:
90+
paths: &paths
91+
%paths%
92+
pull_request:
93+
paths: *paths
9194
schedule:
9295
- cron: "0 1 * * *"
9396
workflow_dispatch: ~
@@ -114,6 +117,20 @@ public function makeWorkflowFile(): void
114117

115118
EOD;
116119

120+
$paths = [
121+
'.github/scripts/download-bundled/**',
122+
];
123+
foreach ($this->bundles as $bundle) {
124+
foreach ($this->makeDornyPathsFilterFilters($bundle) as $p) {
125+
if (str_starts_with($p, '.github/scripts/download-bundled/')) {
126+
continue;
127+
}
128+
129+
$paths[] = $p;
130+
}
131+
}
132+
$content = str_replace('%paths%', $this->indentString($this->encodeYml($paths), 3, false), $content);
133+
117134
$filters = [];
118135
foreach ($this->bundles as $bundle) {
119136
$filters[$bundle->getNameForPath()] = $this->makeDornyPathsFilterFilters($bundle);

.github/workflows/verify-bundled-files.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Verify Bundled Files
33
on:
44
push:
55
paths: &paths
6-
- '.github/scripts/download-bundled/pcre2.sh'
6+
- '.github/scripts/download-bundled/**'
7+
- 'Zend/asm/**'
78
- 'ext/pcre/pcre2lib/**'
9+
- 'ext/uri/uriparser/**'
810
pull_request:
911
paths: *paths
1012
schedule:

0 commit comments

Comments
 (0)