Documentation on Github App events not working?

Hi there,

Just trying Github App integration for its “benefits”, the idea was to be able to customize our pipeline and to run specific jobs with specific triggers, specially when PR events, but what documentation says does not work.

For example, here you can read the new kind of events received when using Github App integration, and the following is supposedly available:

Two pipeline values are available for all GitHub App pipelines for you to use to further configure the workflows and jobs to run on specific events:

pipeline.event.name

pipeline.event.action

Instead when I add it to the pipeline i get:

Error evaluating job filter expression:
Referred to a variable “pipeline.event.name” that does not exist:
pipeline.event.name == “pull_request”
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
or
Error evaluating job filter expression:
Referred to a variable “pipeline.event.github.pull_request.base.ref” that does not exist:
pipeline.event.github.pull_request.base.ref == “main”
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

And in theory I can do it as docu says here.

Any idea?

Hey, PM @ CircleCI here. The team is gonna take a peek at this shortly. They should get back to you soon.

Hi @adrric, I’m also a PM at CircleCI.
For now, the pipeline values you mention are only available for pipelines that use our GitHub App integration. Is it possible that you are looking at a “GitHub OAuth” pipeline? You can check this by going to Project setting > Project setup.

If you like, feel free to send me your project ID and more details on your config via email at benedetta@circleci.com, and I’ll try to work with you to find a solution that works for your use case.

1 Like

Hi! sure, ill contact you through email.
thank you!

1 Like