Skip to main content
All CollectionsTemplatesBasic
Gather CircleCI Environment Variables from GitHub Org Repos - Workflow Template
Gather CircleCI Environment Variables from GitHub Org Repos - Workflow Template

Query GitHub for Organization Repositories and gather CircleCI Environment Variables that are configured in the project.

Updated over a week ago

This workflow template assists in cataloging CircleCI Environment Variables for all repositories within a specified GitHub organization. The automated process queries GitHub, loops through each repository, collects CircleCI variables if available, and generates a text output. This output can be integrated into email or collaboration platforms, enhancing visibility and contributing to efficient web security alert remediation.

Use Cases

Remediate Web Security Alerts

Workflow Breakdown

  1. Query GitHub for a list of organization repositories

  2. Loop over each repository that is found and gather CircleCI Environment variables

  3. If variables are found collect them for use in the output

  4. Create generic text output that can optionally be used with email or collaboration tools.

Vendors

GitHub, Utils, CircleCI

Workflow Output

If variables are found a JSON array of the CircleCI variables organized by GitHub Repo. If not variables are found an empty array will be provided.

Did this answer your question?