⚡ Azure Function to obtain pull-requests information
Project created for this article: Azure Function to capture data from Github using OctoKit
A simple Azure function that communicates with the Github API (using Octokit) and get some information about the changed files in Pull-request:
- Number of files changed.
- Amount of Csproj files changed.
- If any external references have been updated (Up now compatible with C# repositories).
Input parameters for function: repositoryId and pullrequest number. Environment variables required: GITHUB_TOKEN and GITHUB_USER.
| CodeFactor | Deploy |
|---|---|