Submit Your Ideas

We want to hear from you - vote for the features and improvements you'd most like to see, or submit your own ideas if you don't find them already listed.

Have workflows notify github api

I am looking for the ability to have workflows message to the github api instead of individual jobs. This is very useful when a config has tens of individual build steps. Without workflow reporting back to GitHub API, I am forced to set *each one* as a required item on PRs (and required status checks under branch protection). It'd be much more useful if I could define something like:

jobs:
    jobname1:
        notify: False
    jobname2:
        notify: False
workflows:
    flow1:
        notify: True
    jobs:
        - jobname1
        - jobname2```

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Mar 21 2018
  • Future consideration
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    March 21, 2018 16:41
    jobs:
      jobname1:
        notify: False
      jobname2:
        notify: False
    workflows:
      flow1:
        notify: True
        jobs:
          - jobname1
          - jobname2

    +1

     

    Leaving those values off would use the default of "true" on individual jobs and "false" on workflows.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    July 18, 2018 13:09

    Workflow notifications would be very useful for us too. The scenario mentioned by the OP is valid, but also problems with the workflow are currently not communicated to GitHub.

    In our particular scenario, we had a developer attempt to setup two new projects on CircleCI. When the PRs were opened, the developer received no status from CircleCI. He assumed that this meant that the CircleCI build did not occur. After reaching out to CircleCI support, we found out that there was a syntax error in the workflow config. We would have saved a lot of time if this information were communicated as a failed GitHub status.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    August 31, 2018 14:12

    Yep this seems to be basic functionality to notify when using a workflow given that there has been such an emphasis to move to workflows. I just want to know when the workflow finishes not when every single job in it succeeds! I have to turn off notifications for this reason. Hope I'm not missing something...