Skip to content

[GH workflow] update analyze.yml to avoid noisy notification #5801

Description

@awxiaoxian2020

When I merge PR into main branch, I always received the notification that the workflow failed like this.

I found the PR workflow is different from main branch. The latter doesn't generate comment indeed but it upload it and should be used the other workflow I metion at start.

The PR workflow:

pr

The main workflow:

main

Activity

  1. awxiaoxian2020 commented on Mar 23, 2023

    @awxiaoxian2020
    ContributorAuthor

    ${{ github.event.workflow_run.event == 'pull_request' &&

    It seems not including push and we shouldn't but how we handle with this noisy notification?

  2. changed the title [-][GH workflow] analyze_bundle.txt missed on main branch or the workflow set incorrectly[/-] [+][GH workflow] update `analyze.yml` to avoid noisy notification[/+] on Mar 23, 2023
  3. gaearon commented on Mar 23, 2023

    @gaearon
    Member

    If you have a fix in mind, please send it!

  4. awxiaoxian2020 commented on Mar 24, 2023

    @awxiaoxian2020
    ContributorAuthor

    @gaearon The point is that do we need analyze comment on main branch?

  5. harish-sethuraman commented on Mar 24, 2023

    @harish-sethuraman
    Collaborator

    Yea it is better to have. Because sometimes commits land directly into main rather than PR.

  6. awxiaoxian2020 commented on Mar 24, 2023

    @awxiaoxian2020
    ContributorAuthor

    Yea it is better to have. Because sometimes commits land directly into main rather than PR.

    We can add conditions, I think. I will look into it on the weekend.

  7. added a commit that references this issue on Mar 31, 2023
  8. rickhanlonii commented on Sep 2, 2025

    @rickhanlonii
    Member

    @awxiaoxian2020 do you find this job useful when I works? I was thinking we just remove it.

  9. alinkedd commented on Sep 2, 2025

    @alinkedd
    Contributor

    @rickhanlonii please check out #7667 — there are just a few small one-line fixes

  10. awxiaoxian2020 commented on Sep 24, 2025

    @awxiaoxian2020
    ContributorAuthor

    @awxiaoxian2020 do you find this job useful when I works? I was thinking we just remove it.

    Yes, you can remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions