Skip to contentSkip to conversation

ci/wiki-mirror: Don't check path

PATCH In review Petr Vorel 2 participants 3 messages Jan 14, 2022

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 ci/wiki-mirror: Don't check path

Because it's checked only from latest commit,
thus wiki does not get updated when doc change is in the latest commit of the patchset.

---
 .github/workflows/wiki-mirror.yml | 2 --
 1 file changed, 2 deletions(-)
.github/workflows/wiki-mirror.yml +0 -2
index d138f8f226..302667255b 100644
@@ -7,8 +7,6 @@ on:
   push:
     branches:
       - master
-    paths:
-      - 'doc/**'
 
 jobs:
   mirror:
Signature · 5 lines
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by on v1 1/1
#1 lore raw

Hi!

Quoted 3 lines

Because it's checked only from latest commit,
thus wiki does not get updated when doc change is in the latest commit of the patchset.

Looking at the file we will only do a commit when there is a diff, so this only runs a few more commands in the CI in the case that there are no changes and the end result is same.

Looks good:

Signature · 5 lines
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
author
#2 lore raw

Hi all,

Quoted 5 lines

Hi!

Quoted 3 lines

Because it's checked only from latest commit,
thus wiki does not get updated when doc change is in the latest commit of the patchset.

Quoted 7 lines

Looking at the file we will only do a commit when there is a diff, so this only runs a few more commands in the CI in the case that there are no changes and the end result is same.

Looks good:

Thanks. Merged, but unfortunately it didn't help.

I guess the problem is with
if: ${{ github.event.pull_request.head.repo.full_name == 'linux-test-project/ltp' }}

I need more time to investigate, thus updating wiki manually.

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp