Files
OpenShell/providers/github.yaml
John T. Myers 043bde279a feat(providers): add profile-backed policy composition (#1037)
Foundation for providers v2. Add provider profiles and provider profile composition with user policies.
2026-05-04 18:34:33 -07:00

27 lines
713 B
YAML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
id: github
display_name: GitHub
description: GitHub API and Git operations
category: source_control
credentials:
- name: api_token
description: GitHub token
env_vars: [GITHUB_TOKEN, GH_TOKEN]
required: true
auth_style: bearer
header_name: authorization
endpoints:
- host: api.github.com
port: 443
protocol: rest
access: read-write
enforcement: enforce
- host: github.com
port: 443
protocol: rest
access: read-only
enforcement: enforce
binaries: [/usr/bin/gh, /usr/local/bin/gh, /usr/bin/git, /usr/local/bin/git]