Closed oleksandr-kinship closed 1 year ago
Looks find out the reason - is because manual re-run isn't change github context, so context.pull_request.title remains the same.., so this is Github special see some opened issues..
as solution add triggering by type
before have used by path
, will check how it will affect current CI process.
I thinks this details can be added to README as note, to other be aware about this or if you have some comment would glad to hear it otherwise this Issue can be closed.
Can I see the triggers on your yaml? I'm not entirely sure if the context remains the same or not but ideally this action should just be triggered by PR changes; not by re-runs. A note about that in the README might be a good idea, thanks!
Can I see the triggers on your yaml? I'm not entirely sure if the context remains the same or not but ideally this action should just be triggered by PR changes; not by re-runs. A note about that in the README might be a good idea, thanks!
Yep, as I mention in my reply issue was in triggers, most github specific..
it's works fine with types: [opened, edited, synchronize]
. With this there no reason to re-run it manually in the case, it will be automatically run with edited
event.
Hey, tried to test
checker
as step in our CI, might I misunderstand something or did something wrong, would grate to get some clarification. config:this regex pass for example this PR title:
PROJECT2-979: feat(ci): testing PR title checker step
step definition:Expected behaviour:
Is it correct? During testing I found out that point 6 for me not work, step still failing with changed to correct title, for test I have create another PR to another branch with same correct title, but from the start and it pass this step successfully
and this is second PR with same title but from the start
Might is it possible to add some debug logging to understand what title it's handle. might there some issue with getting correct code PR revision or something else Thanks for the help)