Improvement

October 16, 20191 Minute Read

Changes in GitHub Actions push event payload

GitHub Actions are triggered by webhook events. The original payload of the event is stored in a file that actions can read at workflow/event.json (see the docs). We’ve made a slight change to the payload for push events in Actions. The following attributes have been removed from the commits section of push payloads for Actions:

  • added
  • removed
  • modified

These diffs can instead be requested using the API https://developer.github.com/v3/repos/commits/#get-a-single-commit.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Changes in GitHub Actions push event payload - GitHub Changelog