GitHub Actions Filter Button

Filter Kata Containers passed or non-required checks.

These are versions of this script where the code was updated. Show all versions.

  • v1.0.10 2024-02-23

    Release v1.0.10

    Changes include

    • There is no github icon for the non-gha checks, so the indexes of status element and details element are required to calculate dynamically.
    • GitHub updates periodly to restore the hidden checks. We need to update hidden to fit the above issue.
    • Change log level while status and details elements not found.
    • Fix reset hidden check issues.
  • v1.0.9 2024-02-23

    Fix reset hidden check issues

    Count checks that weren't be hidden, instead of counting all checks.

  • v1.0.9 2024-02-23

    Change log level while status and details elements not found

    Log level from debug to error.

  • v1.0.9 2024-02-23

    Fix two filtering issues

    • There is no github icon for the non-gha checks, so the indexes of status element and details element are required to calculate dynamically.
    • GitHub updates periodly to restore the hidden checks. We need to update hidden to fit the above issue.
  • v1.0.9 2024-02-22

    Release v1.0.9

  • v1.0.8 2024-02-22

    Fix issues with suffix of issuecomment

    The button doesn't show up while the url has suffix of #issuecomment-{number}, e.g. "https://github.com/kata-containers/kata-containers/pull/5491#issuecomment-1959055471".

  • v1.0.8 2024-02-22

    Release v1.0.8 (#3)

    Two changes

    • Remove negative value of filteredItems (#1)
    • Fix url change listener issues (#2)
  • v1.0.7 2024-02-22

    Fix url change listener issues (#2)

    Add two event listeners, 'popstate' and 'hashchange', to fix the issue where url change events aren't triggered while going back.

  • v1.0.7 2024-02-22

    Remove negative value of filteredItems (#1)

  • v1.0.7 2024-02-20

    1.0.7: Show the button with suffix of discussion

  • v1.0.6 2024-02-20

    1.0.6: Show the button with the suffix of pullrequestreview

    Show the button in the page, such as https://github.com/kata-containers/kata-containers/pull/9114#pullrequestreview-1889523980

  • v1.0.5 2024-02-20

    1.0.5: Fix a filtered issue

    If there is no items after filtering, the if condition,checks.length == 0, prevent restoring checks.

  • v1.0.4 2024-02-20

    1.0.4: Fix an url match issue

  • v1.0.3 2024-02-20

    1.0.3: Fix some issues

  • v1.0.2 2024-02-20

    1.0.2: Fix the issue where the button doesn't show up sometimes

    The button is inserted to body instead of check summary div, which is able to fix the issue where the button doesn't show up sometimes.

  • v1.0.1 2024-02-20

    1.0.1: Enhance stability

    The changes include

    • Remove a check for the status of pull request.
    • Add more debug logs.
    • Remove unnecessary CSS selectors.
  • v1.0.0 2024-02-18

    Release v1.0.0

  • v2024-02-18 2024-02-18

    Update main.js

  • v2024-02-08 2024-02-08 Imported from URL
  • v2024-02-08 2024-02-08 Imported from URL
  • v2024-02-07 2024-02-07
  • v2024-02-06 2024-02-06