Page MenuHomeDevCentral

Handle change default branch GitHub action
Closed, ResolvedPublic

Description

16:31:46 < Wearg> Unknown repository action: edited — https://github.com/nasqueron/docker-php-cli

Event was a branch change from master to main:

Example of payload
{
  "action": "edited",
  "changes": {
    "default_branch": {
      "from": "master"
    }
  },
  "repository":  {
    ...,
    "default_branch": "main"
  }

Full payload for unit test is available at P306.