Skip to content

jamesridgway/github-actions-approval-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Approval API

This is the API used by github-actions-approval-request.

The API is responsible for triggering webhooks in API teams and receiving requests from Teams message cards to deploy a specific build.

Repository Structure

./app contains all the API code. The API is designed to run as an Azure Function.

./infra-azure uses Pulumi to deploy the API

How does this work?

For a detailed explanation of how this works checkout this blog post:

Required configuration

In ./infra-azure create a .env file based on the .env.example. Provide the details for a personal access token that has permission to trigger workflows.

Environment Variable Description
AUTH_GITHUB_USERNAME GitHub Username
AUTH_GITHUB_TOKEN GitHub Personal Access Token
AZURE_TENANT_ID Azure Tenant ID
AZURE_SUBSCRIPTION_ID Azure Subscription ID
ACTIONS_APPROVAL_API_KEY API Key for the API to accept

About

An API for requestion approval for GitHub actions via Microsoft Teams and Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published