Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Creating custom deployment protection rules - GitHub Docs

Teaches how to implement custom deployment protection rules using GitHub Apps or custom logic to gate deployment environments.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Creating custom deployment protection rules - GitHub Docs

Teaches how to implement custom deployment protection rules using GitHub Apps or custom logic to gate deployment environments.

When To Use

Use when you need to automate manual approval processes or integrate external security checks into your GitHub Actions deployment environments.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-deploy-creating-custom-deployment-protection-rules-githu-workflow-guide.mdA guide explaining how to create and manage custom deployment protection rules using GitHub Apps within GitHub Actions.Questions about a guide explaining how to create and manage custom deployment protection rules using GitHub Apps within GitHub Actions.
examples/actions-how-tos-deploy-creating-custom-deployment-protection-rules-githu.textA curl command demonstrating how to request an installation access token with deployment write permissions via the GitHub API.Exact payloads, commands, or snippets shown in A curl command demonstrating how to request an installation access token with deployment write permissions via the Gi...

What This Skill Covers

    • GitHub Actions / - How-tos / - Deploy / - Configure and manage deployments / - Create custom protection rules
  • Main sections: Who can use this feature?, In this article, Prerequisites, Creating a custom deployment protection rule with GitHub Apps, Approving or rejecting deployments.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/create-custom-protection-rules