Job is pending, waiting for approval, then become skipped

Copper Contributor

I have an Azure pipeline where the last stage needs approval from an authorised person. The pipeline seems to work well, and when this last stage is reached the status is "Job is pending..." as expected:

 
 

GqGTk

 

The problem is that after a certain time, the job eventually turn to "skipped" status automatically, so the person who should approve doesn't have time to do so:

 

YQMAt

 

Unfortunately I can't find what's causing this. How would I go about debugging this issue? Is there any log I can look at that would tell us why the job is being skipped (couldn't find any such log)? If not, any idea what can transition a job from "waiting for approval" to "skipped" without us doing anything?

 
3 Replies

@SaumilkumarShah Thank you, but I already tried that and unfortunately it didn't help. The log still doesn't show why the stage is being skipped. In fact for that specific stage there's just no log.

Could you please share a yaml code snippet and approval gate configuration?