Skip to main content

Introduction

The image shows connecting a GitHub action to the Azure Function App

GitHub metrics are collected by a GitHub action triggered by a scheduled event. The GitHub action collects metrics from the GitHub API and posts the metrics to an Azure Function App webhook. The Azure Function App webhook is a secure endpoint that accepts the metrics payload and stores the metrics in a database.

In this section, you will learn how to:

  1. Create a fine-grained GitHub Personal Access Token (PAT).
  2. Upload GitHub secrets with the GitHub CLI.
  3. Add a GitHub action.