# Group level Github notify not updating commit status when a step fails

**URL:** <https://forum.buildkite.community/t/group-level-github-notify-not-updating-commit-status-when-a-step-fails/3689>\
**Category:** Pipelines\
**Created:** [May 10, 2024, 2:11am UTC](https://forum.buildkite.community/t/group-level-github-notify-not-updating-commit-status-when-a-step-fails/3689 "2024-05-10T02:11:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubhang](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@shubhang](https://forum.buildkite.community/u/shubhang)\
**Post date:** [May 10, 2024, 2:11am UTC](https://forum.buildkite.community/t/group-level-github-notify-not-updating-commit-status-when-a-step-fails/3689/1 "2024-05-10T02:11:57Z")

</div>

I have a pipeline with a group step and a github commit status notify at the group level. The status correctly shows as Pending, then Started, as the jobs kick off, but if one of the jobs fails, the status remains stuck in pending.

Simplified section of the pipeline:

```auto
  - group: "Run e2e tests"
    key: "e2e-tests"
    notify:
      - github_commit_status:
          context: "$BUILDKITE_PIPELINE_NAME/e2e-tests"
    steps:
      - label: "Wait for integration env to be ready"
        command: ./scripts/wait-for-env.sh

      - wait

      - label: "Run e2e tests against integration env"
        command: ./scripts/run-tests.sh
        plugins:
          - docker#v5.7.0:
              image: "node:20"
              environment:
                - "BUILDKITE_PULL_REQUEST"
                - "BUILDKITE_COMMIT"
    depends_on:
      - "ci-lint"
    if: "!build.pull_request.draft && build.pull_request.id != null"

```

I’m trying to have the commit status pass when the group passes, and fail when any step in the group fails.

---

<div class="post-metadata">

**Author:** ![paula](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/paula/32/954_2.png) [@paula](https://forum.buildkite.community/u/paula)\
**Post date:** [May 10, 2024, 2:24am UTC](https://forum.buildkite.community/t/group-level-github-notify-not-updating-commit-status-when-a-step-fails/3689/2 "2024-05-10T02:24:50Z")

</div>

Hi @shubhang this should be how it works, given the config you shared 👍

To properly debug this, can you share the build where you’ve seen this behaviour? Feel free to email it to us instead if you want to keep it private. [support@buildkite.com](mailto:support@buildkite.com)

---

<div class="post-metadata">

**Author:** ![shubhang](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@shubhang](https://forum.buildkite.community/u/shubhang)\
**Post date:** [May 10, 2024, 3:12pm UTC](https://forum.buildkite.community/t/group-level-github-notify-not-updating-commit-status-when-a-step-fails/3689/3 "2024-05-10T15:12:24Z")

</div>

I’ve provided more specifics via an email to [support@buildkite.com](mailto:support@buildkite.com).
