Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-4345

CheckRun is in Queued — Pending approval when there are no matched Pipelinerun from .tekton

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      The repo have .tekton with PipelineRun for `push` event type

      1. when non authorized user sends PullRequest the CI shows below status

      Pipelines as Code CI Queued — Pending approval 

      2. Authorized user adds `/ok-to-test` but still checkrun shows same status like prvious

      but controller have below logs

      {"level":"warn","ts":"2024-04-01T11:12:45.397Z","logger":"pipelinesascode","caller":"matcher/annotation_matcher.go:176","msg":"CEL expression is not matching , skipping","provider":"github","event-id":"c2893f80-f018-11ee-8fe5-70b996a1cb6d","event-sha":"e05bc9f6f9da336e4ff9d756e462cf0ce5a18f06","event-type":"pull_request","namespace":"rh-terraform-tenant"}
      {"level":"warn","ts":"2024-04-01T11:12:45.397Z","logger":"pipelinesascode","caller":"matcher/annotation_matcher.go:200","msg":"cannot match pipeline from payload to a pipelinerun in .tekton/ dir","provider":"github","event-id":"c2893f80-f018-11ee-8fe5-70b996a1cb6d","event-sha":"e05bc9f6f9da336e4ff9d756e462cf0ce5a18f06","event-type":"pull_request","namespace":"rh-terraform-tenant"} 

      3. Its blocking the PR for merging

       

      WorkAround

      A member who has permission can resubmit PR

       

      Slack Discussion: https://redhat-internal.slack.com/archives/C04PZ7H0VA8/p1711953158655379

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            Unassigned Unassigned
            sashture Savita .
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: