Actions are not triggering when the PR was created using API

I have a workflow which looks something like:

name: CI

on: [push, pull_request]

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest

It triggers for both normal push and pull request but not when created by a bot.

1 Like

I’m seeing a similar issue when trying to trigger a workflow from a check run action.

The docs indicate this is possible https://help.github.com/en/articles/events-that-trigger-workflows#check-run-event-check_run

And my workflow is setup like so

on:
  check_run:
    types: [requested_action]

Events raised from the Actions app do not trigger workflows.  This restriction is currently in place in order to prevent a circular workflow exeuction.  Unfortuately the documentation is not very clear in this are so I have opened an issue to address this.  

Clearly this restriction is very limiting right now and I hope to address it in the future.

Thanks for the explanation :slight_smile: