tag_protection
Overview
Name | tag_protection |
Type | Resource |
Id | github.repos.tag_protection |
Fields
Name | Datatype |
---|---|
id | integer |
created_at | string |
enabled | boolean |
pattern | string |
updated_at | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_tag_protection | SELECT | owner, repo | This returns the tag protection states of a repository. This information is only available to repository administrators. |
create_tag_protection | INSERT | owner, repo, data__pattern | This creates a tag protection state for a repository. This endpoint is only available to repository administrators. |
delete_tag_protection | DELETE | owner, repo, tag_protection_id | This deletes a tag protection state for a repository. This endpoint is only available to repository administrators. |