Branches

WebService::GitHub::Repos::Branches

Add app access restrictions

	WebService::GitHub::Repos::Branches.add-app-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$apps!
 )

Add status check contexts

	WebService::GitHub::Repos::Branches.add-status-check-contexts(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$contexts!
 )

Add team access restrictions

	WebService::GitHub::Repos::Branches.add-team-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$teams!
 )

Add user access restrictions

	WebService::GitHub::Repos::Branches.add-user-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$users!
 )

Create commit signature protection

	WebService::GitHub::Repos::Branches.create-commit-signature-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Delete access restrictions

	WebService::GitHub::Repos::Branches.delete-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
 )

Delete admin branch protection

	WebService::GitHub::Repos::Branches.delete-admin-branch-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Delete branch protection

	WebService::GitHub::Repos::Branches.delete-branch-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Delete commit signature protection

	WebService::GitHub::Repos::Branches.delete-commit-signature-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Delete pull request review protection

	WebService::GitHub::Repos::Branches.delete-pull-request-review-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Get access restrictions

	WebService::GitHub::Repos::Branches.get-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
 )

Get admin branch protection

	WebService::GitHub::Repos::Branches.get-admin-branch-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Get all status check contexts

	WebService::GitHub::Repos::Branches.get-all-status-check-contexts(  Str $owner
,  Str $repo
,  Str $branch
 )

Get apps with access to the protected branch

	WebService::GitHub::Repos::Branches.get-apps-with-access-to-protected-branch(  Str $owner
,  Str $repo
,  Str $branch
 )

Get a branch

	WebService::GitHub::Repos::Branches.get-branch(  Str $owner
,  Str $repo
,  Str $branch
 )

Get branch protection

	WebService::GitHub::Repos::Branches.get-branch-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Get commit signature protection

	WebService::GitHub::Repos::Branches.get-commit-signature-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Get pull request review protection

	WebService::GitHub::Repos::Branches.get-pull-request-review-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Get status checks protection

	WebService::GitHub::Repos::Branches.get-status-checks-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Get teams with access to the protected branch

	WebService::GitHub::Repos::Branches.get-teams-with-access-to-protected-branch(  Str $owner
,  Str $repo
,  Str $branch
 )

Get users with access to the protected branch

	WebService::GitHub::Repos::Branches.get-users-with-access-to-protected-branch(  Str $owner
,  Str $repo
,  Str $branch
 )

List branches

	WebService::GitHub::Repos::Branches.list-branches(  Str $owner
,  Str $repo
,  Bool :$protected
,  Int(Str) :$per-page
,  Int(Str) :$page
 )

Remove app access restrictions

	WebService::GitHub::Repos::Branches.remove-app-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$apps!
 )

Remove status check contexts

	WebService::GitHub::Repos::Branches.remove-status-check-contexts(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$contexts!
 )

Remove status check protection

	WebService::GitHub::Repos::Branches.remove-status-check-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Remove team access restrictions

	WebService::GitHub::Repos::Branches.remove-team-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$teams!
 )

Remove user access restrictions

	WebService::GitHub::Repos::Branches.remove-user-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$users!
 )

Rename a branch

	WebService::GitHub::Repos::Branches.rename-branch(  Str $owner
,  Str $repo
,  Str $branch
,  Str :$new-name!
 )

Set admin branch protection

	WebService::GitHub::Repos::Branches.set-admin-branch-protection(  Str $owner
,  Str $repo
,  Str $branch
 )

Set app access restrictions

	WebService::GitHub::Repos::Branches.set-app-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$apps!
 )

Set status check contexts

	WebService::GitHub::Repos::Branches.set-status-check-contexts(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$contexts!
 )

Set team access restrictions

	WebService::GitHub::Repos::Branches.set-team-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$teams!
 )

Set user access restrictions

	WebService::GitHub::Repos::Branches.set-user-access-restrictions(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$users!
 )

Update branch protection

	WebService::GitHub::Repos::Branches.update-branch-protection(  Str $owner
,  Str $repo
,  Str $branch
,  Bool :$allow-deletions
,  Bool :$required-linear-history
,  Bool :$enforce-admins!
,  Bool :$allow-force-pushes
,  Associative :$restrictions!
,  Associative :$required-status-checks!
,  Associative :$required-pull-request-reviews!
 )

Update pull request review protection

	WebService::GitHub::Repos::Branches.update-pull-request-review-protection(  Str $owner
,  Str $repo
,  Str $branch
,  Bool :$dismiss-stale-reviews
,  Associative :$dismissal-restrictions
,  Bool :$require-code-owner-reviews
,  Int(Str) :$required-approving-review-count
 )

Update status check protection

	WebService::GitHub::Repos::Branches.update-status-check-protection(  Str $owner
,  Str $repo
,  Str $branch
,  Positional :$contexts
,  Bool :$strict
 )

WebService::GitHub v0.2.0

GitHub API

Authors

  • Fayland Lam
  • Khalid Mohamed Elborai
  • Patrick Böker

License

Artistic-2.0

Dependencies

MIME::Base64:ver<1.2.3>:auth<zef:raku-community-modules>URI:ver<0.3.5>HTTP::UserAgent:ver<1.1.51>:auth<github:sergot>JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>Cache::LRU:ver<0.1.0>Subset::Helper:ver<1.001002>:auth<zef:raku-community-modules>

Provides

  • WebService::GitHub
  • WebService::GitHub::Actions::Artifacts
  • WebService::GitHub::Actions::Permissions
  • WebService::GitHub::Actions::Secrets
  • WebService::GitHub::Actions::SelfHostedRunnerGroups
  • WebService::GitHub::Actions::SelfHostedRunners
  • WebService::GitHub::Actions::WorkflowJobs
  • WebService::GitHub::Actions::WorkflowRuns
  • WebService::GitHub::Actions::Workflows
  • WebService::GitHub::Activity::Events
  • WebService::GitHub::Activity::Feeds
  • WebService::GitHub::Activity::Notifications
  • WebService::GitHub::Activity::Starring
  • WebService::GitHub::Activity::Watching
  • WebService::GitHub::AppAuth
  • WebService::GitHub::Apps
  • WebService::GitHub::Apps::Installations
  • WebService::GitHub::Apps::Marketplace
  • WebService::GitHub::Apps::OauthApplications
  • WebService::GitHub::Apps::Webhooks
  • WebService::GitHub::Billing
  • WebService::GitHub::Checks::Runs
  • WebService::GitHub::Checks::Suites
  • WebService::GitHub::CodeScanning
  • WebService::GitHub::CodesOfConduct
  • WebService::GitHub::Emojis
  • WebService::GitHub::EnterpriseAdmin::Actions
  • WebService::GitHub::EnterpriseAdmin::AuditLog
  • WebService::GitHub::EnterpriseAdmin::Billing
  • WebService::GitHub::EnterpriseAdmin::Scim
  • WebService::GitHub::Gists
  • WebService::GitHub::Gists::Comments
  • WebService::GitHub::Git::Blobs
  • WebService::GitHub::Git::Commits
  • WebService::GitHub::Git::Refs
  • WebService::GitHub::Git::Tags
  • WebService::GitHub::Git::Trees
  • WebService::GitHub::Gitignore
  • WebService::GitHub::GraphQL
  • WebService::GitHub::Interactions::Orgs
  • WebService::GitHub::Interactions::Repos
  • WebService::GitHub::Interactions::User
  • WebService::GitHub::Issues
  • WebService::GitHub::Issues::Assignees
  • WebService::GitHub::Issues::Comments
  • WebService::GitHub::Issues::Events
  • WebService::GitHub::Issues::Labels
  • WebService::GitHub::Issues::Milestones
  • WebService::GitHub::Issues::Timeline
  • WebService::GitHub::Licenses
  • WebService::GitHub::Markdown
  • WebService::GitHub::Meta
  • WebService::GitHub::Migrations::Orgs
  • WebService::GitHub::Migrations::SourceImports
  • WebService::GitHub::Migrations::Users
  • WebService::GitHub::OauthAuthorizations
  • WebService::GitHub::Orgs
  • WebService::GitHub::Orgs::Blocking
  • WebService::GitHub::Orgs::Members
  • WebService::GitHub::Orgs::OutsideCollaborators
  • WebService::GitHub::Orgs::Webhooks
  • WebService::GitHub::Packages
  • WebService::GitHub::Projects
  • WebService::GitHub::Projects::Cards
  • WebService::GitHub::Projects::Collaborators
  • WebService::GitHub::Projects::Columns
  • WebService::GitHub::Pulls
  • WebService::GitHub::Pulls::Comments
  • WebService::GitHub::Pulls::ReviewRequests
  • WebService::GitHub::Pulls::Reviews
  • WebService::GitHub::RateLimit
  • WebService::GitHub::Reactions
  • WebService::GitHub::Repos
  • WebService::GitHub::Repos::Branches
  • WebService::GitHub::Repos::Collaborators
  • WebService::GitHub::Repos::Comments
  • WebService::GitHub::Repos::Commits
  • WebService::GitHub::Repos::Community
  • WebService::GitHub::Repos::Contents
  • WebService::GitHub::Repos::Deployments
  • WebService::GitHub::Repos::Environments
  • WebService::GitHub::Repos::Forks
  • WebService::GitHub::Repos::Invitations
  • WebService::GitHub::Repos::Keys
  • WebService::GitHub::Repos::Merging
  • WebService::GitHub::Repos::Pages
  • WebService::GitHub::Repos::Releases
  • WebService::GitHub::Repos::Statistics
  • WebService::GitHub::Repos::Statuses
  • WebService::GitHub::Repos::Traffic
  • WebService::GitHub::Repos::Webhooks
  • WebService::GitHub::Response
  • WebService::GitHub::Role
  • WebService::GitHub::Role::CustomUserAgent
  • WebService::GitHub::Role::Debug
  • WebService::GitHub::Scim
  • WebService::GitHub::Search
  • WebService::GitHub::SecretScanning
  • WebService::GitHub::Teams
  • WebService::GitHub::Teams::DiscussionComments
  • WebService::GitHub::Teams::Discussions
  • WebService::GitHub::Teams::Members
  • WebService::GitHub::Teams::TeamSync
  • WebService::GitHub::Users
  • WebService::GitHub::Users::Blocking
  • WebService::GitHub::Users::Emails
  • WebService::GitHub::Users::Followers
  • WebService::GitHub::Users::GpgKeys
  • WebService::GitHub::Users::Keys

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.