Latest Dynatrace
The following workflow actions are available for the GitHub Connector integration.
Token type
Repository type
Permissions
Fine-grained personal access token
public
Select Repository permissions > Contents > Read and write.
Select Repository permissions > Pull requests > Read and write.
Select Repository permissions > Workflows > Read and write.
Fine-grained personal access token
private
Select Repository permissions > Contents > Read and write.
Select Repository permissions > Pull requests > Read and write.
Select Repository permissions > Workflows > Read and write.
Token (classic)
public
Select scopes > repo > public_repo.
Token (classic)
private
Select scopes > repo (Full control of private repositories).
The Get content action returns the content of an existing file in the repository.
.git
extension. The name is not case-sensitive.The action returns the content
property that contains the plain text content of an existing file in the repository.
Token type
Repository type
Permissions
Fine-grained personal access token
public
No additional permissions are required.
Fine-grained personal access token
private
Select Repository permissions > Contents > Read only.
Token (classic)
public
No additional permissions are required.
Token (classic)
private
Select scopes > repo (Full control of private repositories).
The Create or replace file action creates a new file with the specified content or replaces an existing one. Next, it commits the change to a newly created branch using the specified source branch or the specified existing branch.
.git
extension. The name is not case-sensitive.The action returns the fileMetadata
property that contains the full response of the corresponding GitHub API endpoint.
Token type
Repository type
Permissions
Fine-grained personal access token
public
Select Repository permissions > Contents > Read and write.
Fine-grained personal access token
private
Select Repository permissions > Contents > Read and write.
Select Repository permissions > Workflows > Read and write. (required to modify GitHub workflow files)
Token (classic)
public
Select scopes > repo > public_repo.
Token (classic)
private
Select scopes > repo (Full control of private repositories).
The Delete file action deletes an existing file in the repository and commits the change to either a newly created branch using the specified source branch as a basis or uses the specified existing branch.
.git
extension. The name is not case-sensitive.The action returns the fileMetadata
property that contains the full response of the corresponding GitHub API endpoint.
Token type
Repository type
Permissions
Fine-grained personal access token
public
Select Repository permissions > Contents > Read and write.
Fine-grained personal access token
private
Select Repository permissions > Contents > Read and write.
Token (classic)
public
Select scopes > repo > public_repo.
Token (classic)
private
Select scopes > repo (Full control of private repositories).
The Create pull request action creates a pull request for an existing branch and the specified target branch (for example, main
).
The action returns the pullRequest
property that contains the full response of the corresponding GitHub API endpoint.
Token type
Repository type
Permissions
Fine-grained personal access token
public
Select Repository permissions > Pull requests > Read and write.
Fine-grained personal access token
private
Select Repository permissions > Pull requests > Read and write.
Token (classic)
public
Select scopes > repo > public_repo.
Token (classic)
private
Select scopes > repo (Full control of private repositories).
The Get pull request action returns details about the specified pull request.
.git
extension. The name is not case-sensitive.The action returns the pullRequest
property that contains the full response of the corresponding GitHub API endpoint.
Token type
Repository type
Permissions
Fine-grained personal access token
public
No additional permissions are required.
Fine-grained personal access token
private
Select Repository permissions > Pull requests > Read-only.
Token (classic)
public
No additional permissions are required.
Token (classic)
private
Select scopes > repo (Full control) of private repositories.
The List pull requests action returns a list of pull requests that match the specified criteria. The limit of 30 pull requests applies.
.git
extension. The name is not case-sensitive.The action returns the pullRequest
property that contains the full response of the corresponding GitHub API endpoint.
Token type
Repository type
Permissions
Fine-grained personal access token
public
No additional permissions are required.
Fine-grained personal access token
private
Select Repository permissions > Pull requests > Read-only.
Token (classic)
public
No additional permissions are required.
Token (classic)
private
Select scopes > repo (Full control of private repositories).
The Merge pull request action merges the specified pull request.
.git
extension. The name is not case-sensitive.The action returns the mergeStatus
property that contains the full response of the corresponding GitHub API endpoint.
Token type
Repository type
Permissions
Fine-grained personal access token
public
Select Repository permissions > Contents > Read and write.
Fine-grained personal access token
private
Select Repository permissions > Contents > Read and write.
Token (classic)
public
Select scopes > repo > public_repo.
Token (classic)
private
Select scopes > repo (Full control of private repositories).