Agent skill

actions-integration

Integrate GitHub Core Apps with Actions workflows for org-scoped automation. Generate tokens, access APIs, and implement cross-repository operations patterns.

Stars 1
Forks 2

Install this agent skill to your Project

npx add-skill https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/patterns/skills/actions-integration

SKILL.md

Actions Integration

When to Use This Skill

This guide explains how to integrate your GitHub Core App with GitHub Actions workflows for organization-level automation.

What You'll Learn

Generate short-lived tokens, use them with GitHub CLI and APIs, implement common workflow patterns, and handle errors gracefully.

Prerequisites

Before integrating, ensure you have:

  1. Core App created and installed - See GitHub App Setup
  2. Secrets configured - CORE_APP_ID and CORE_APP_PRIVATE_KEY stored in GitHub
  3. Required permissions - App has permissions for your automation tasks

Implementation

See the full implementation guide in the source documentation.

Techniques

Authentication Methods

GitHub Apps support three authentication methods, each serving different use cases:

Method Scope Expiration Primary Use Case
JWT App-level 10 minutes Installation discovery, app metadata, bootstrapping
Installation Tokens Repository/Org 1 hour Repository operations, API access, automation
OAuth User context Configurable User-specific operations, web flows

Which authentication method should I use?

  • Most workflows → Installation Tokens (via actions/create-github-app-token)
  • App management → JWT (list installations, app configuration)
  • User operations → OAuth (actions on behalf of a user)

See the Authentication Decision Guide for detailed selection criteria.

References

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results