Using GitHub as a Source

Create and Update Functions enables the use of a GitHub repository as a source

"input": {
    "pipeline": {
      "label": "sample"
    },
    "repo": {
      "type": "GitHub",
      "name": "sample-repository",
      "branch": "master",
			"owner": "sampleOwner"
			"oauthtoken": "SAMPLETOKEN1234"
    },
...

Owner: (Optional) Owner of the GitHub repository and only required when using a Github as a source

Oauthtoken: (Optional) Personal Access Token generated on the GitHub account that will grant CodePipeline access to the repository. This will only be required when using GitHub as a source