Skip to content

Instantly share code, notes, and snippets.

@dentarg
Last active September 24, 2019 07:23
Show Gist options
  • Select an option

  • Save dentarg/c490f029d42aaa1452474689bb5fab20 to your computer and use it in GitHub Desktop.

Select an option

Save dentarg/c490f029d42aaa1452474689bb5fab20 to your computer and use it in GitHub Desktop.

September 23, 2019 at 11:23 PM by Kayla Ngan

GitHub Changelog

GitHub Actions uses the Checks API for representing and storing information about job executions. These checks appear in many places in the GitHub UI such as the merge box of a pull request, or when clicking on a status icon next to a commit message. Among other things this allows users to configure protected branch rules based on GitHub Actions checks.

At the same time, Actions can be triggered not just when somebody pushes code to GitHub but when many other events occur. In these cases, GitHub Actions looks for workflow files in the default branch of the repository and creates and associates the checks with the SHA of the latest commit. This allows for debugging the workflow file, but also means that these checks, not created by a push event, appear in places such as the merge box in a pull request.

We have found that this can be noisy and not relevant in the context of a pull request. It can also cause friction when protected branch rules are enabled. As of today, we’re deploying a change to remove checks generated due to events other than push and pull_request from the context of pull requests or in the calculation of commit statuses. These checks will be available in the Actions tab for observability.

This change only affects checks created after September 18.

If you have any questions or thoughts about these changes, let us know in the GitHub Community Forum’s Actions board.

The post UI changes in GitHub Actions checks appeared first on The GitHub Blog.

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