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

PaC fails to trigger pipelines for commits generated by github-actions[bot]

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      In HACBS-150, I'm setting up a git repo with a github action that commits and pushes to a build branch every 15 minutes. I want to use this to trigger pipelines and (eventually) I want to measure the success rate of those pipelines as a proxy measurement for reliability of our system.

      When the github action pushes to the repo, it authenticates as a "github-actions[bot]" user. This username is sent to PaC as part of the payload from github. PaC fails to create the pipelinerun because it fails to create a label with the "[" and "]" characters in it.

       

      $ oc logs deployment/pipelines-as-code-controller | grep "is invalid" 

      Unknown macro: {"severity"}

      Any recommendations?

      Attachments

        Activity

          People

            sashture Savita .
            rbean@redhat.com Ralph Bean
            Veeresh Aradhya Veeresh Aradhya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: