Drone - .drone.yml file size limitation with Github

Beneficial information for anyone having an issue with the .drone.yml file size limitation of >1 Mb with Github.
The drone uses the GitHub API to retrieve the YAML.
The GitHub API returns a max file size of 1 Mb. So this restriction exists at the GitHub API level.
https://docs.github.com/en/rest/repos/contents#size-limits

2 Likes