mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
chore(actions): also run on reopened pr
This commit is contained in:
parent
81a75201c4
commit
6cc309d00b
4
.github/workflows/close_themes_pr.yml
vendored
4
.github/workflows/close_themes_pr.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Close Themes PR
|
name: Close Themes PR
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened]
|
types: [opened, reopened, edited]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
for (const file in response.data) {
|
for (const file in response.data) {
|
||||||
console.log(`File: ${file}`);
|
console.log(`File: ${file}`);
|
||||||
if (file.status === 'added' && file.filename.includes('themes/')) {
|
if (file.status === 'added' && file.filename.includes('themes/')) {
|
||||||
console.log(`File: ${file.filename}` is a theme addition);
|
console.log(`File: ${file.filename} is a theme addition`);
|
||||||
hasThemeAdditions = true;
|
hasThemeAdditions = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue