Skip to content

Bug report: "flow get" command returning error "Cannot read properties" #2984

@gavdgavd

Description

@gavdgavd

Description

Using the "flow get" command returns the error "Cannot read properties of undefined (reading 'triggers')"

Steps to reproduce

1 - Create a flow (Power Automate) with two steps:
- Star step with "Manually trigger a flow"
- Step "Send an email notification (V3)" fully configured
2 - Test that the flow runs correctly using the Power Automate interface
3 - Create the following PowerShell script

m365 login --authType password --userName "[email protected]"
--password "myVerySecurePw"

m365 flow get --environment "default-021ee864-951d-4f25-a5c3-b6d4412c4052" --name "3126a4e4-71b9-49d8-802d-734a71534ff4"
--asAdmin

4 - Ensure that the environment and flow identifiers are correct. In this case, they are token from the URL of the flow when the Power Automate interface to edit the flow is open:

https://emea.flow.microsoft.com/manage/environments/Default-021ee864-951d-4f25-a5c3-b6d4412c4052/flows/3126a4e4-71b9-49d8-802d-734a71534ff4

5 - Run the script from a PowerShell prompt
Used system: Windows server 2022 + PowerShell 7 x64

Expected results

The flow data. Something like:

{
"name": "3126a4e4-71b9-49d8-802d-734a71534ff4",
"id": "/providers/Microsoft.ProcessSimple/environments/Default-021ee864-951d-4f25-a5c3-b6d4412c4052/flows/3126a4e4-71b9-49d8-802d-734a71534ff4",
"type": "Microsoft.ProcessSimple/environments/flows",
"properties": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
"displayName": "TestFlow",

etc., etc., etc...

Actual results

C:\Users\Administrator\AppData\Roaming\npm\node_modules@pnp\cli-microsoft365\dist\m365\flow\commands\flow-get.js:32
res.triggers = Object.keys(res.properties.definition.triggers).join(', ');
^

TypeError: Cannot read properties of undefined (reading 'triggers')
at C:\Users\Administrator\AppData\Roaming\npm\node_modules@pnp\cli-microsoft365\dist\m365\flow\commands\flow-get.js:32:66
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Diagnostics

Executing command flow get with options {"options":{"environment":"default-021ee864-951d-4f25-a5c3-b6d4412c4052","name":"3126a4e4-71b9-49d8-802d-734a71534ff4","asAdmin":true,"debug":true}}
Retrieving information about Microsoft Flow 3126a4e4-71b9-49d8-802d-734a71534ff4...
No token found for resource https://management.azure.com
[Wed, 26 Jan 2022 20:41:44 GMT] : @azure/[email protected] : Info - getTokenCache called
Retrieving new access token silently
[Wed, 26 Jan 2022 20:41:44 GMT] : @azure/[email protected] : Info - getTokenCache called
[Wed, 26 Jan 2022 20:41:44 GMT] : @azure/[email protected] : Verbose - initializeRequestScopes called
[Wed, 26 Jan 2022 20:41:44 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Verbose - buildOauthClientConfiguration called
[Wed, 26 Jan 2022 20:41:44 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Verbose - building oauth client configuration with the authority: https://login.microsoftonline.com/organizations
[Wed, 26 Jan 2022 20:41:44 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Verbose - createAuthority called
[Wed, 26 Jan 2022 20:41:44 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Verbose - Silent flow client created
[Wed, 26 Jan 2022 20:41:44 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Info - SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties.
[Wed, 26 Jan 2022 20:41:45 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Verbose - Persistence enabled, calling beforeCacheAccess
[Wed, 26 Jan 2022 20:41:45 GMT] : [2c351ee3-9f00-46f4-9ad8-9fa7ebabaaf5] : @azure/[email protected] : Verbose - Persistence enabled, calling afterCacheAccess
Response
{
authority: 'https://login.microsoftonline.com/organizations/',
uniqueId: 'd4cabac6-4bae-4d8b-bd39-564243f1eace',
tenantId: '021ee864-951d-4f25-a5c3-b6d4412c4052',
scopes: [
'https://management.azure.com/user_impersonation',
'https://management.azure.com/.default'
],
account: {
homeAccountId: 'xxx',
environment: 'login.windows.net',
tenantId: 'xxx',
username: '[email protected]',
localAccountId: 'xxx',
name: 'xxx',
idTokenClaims: {
aud: 'xxx',
iss: 'https://login.microsoftonline.com/xxx/v2.0',
iat: xxx,
nbf: xxx,
exp: xxx,
aio: 'xxx',
name: 'xxx',
oid: 'xxx',
preferred_username: '[email protected]',
rh: 'xxx',
sub: 'xxx',
tid: 'xxx',
uti: 'xxx',
ver: '2.0'
}
},
idToken: 'xxx',
idTokenClaims: {
aud: 'xxx',
iss: 'https://login.microsoftonline.com/xxx/v2.0',
iat: xxx,
nbf: xxx,
exp: xxx,
aio: 'xxx',
name: 'xxx',
oid: 'xxx',
preferred_username: '[email protected]',
rh: 'xxx',
tid: 'xxx',
uti: 'xxx',
ver: '2.0'
},
accessToken: 'xxx',
fromCache: false,
expiresOn: 2022-01-26T22:07:25.000Z,
correlationId: 'xxx',
extExpiresOn: 2022-01-26T23:33:05.000Z,
familyId: '',
tokenType: 'Bearer',
state: '',
cloudGraphHostName: '',
msGraphHost: '',
code: undefined
}

Request:
{
"headers": {
"common": {
"Accept": "application/json, text/plain, /"
},
"delete": {},
"get": {},
"head": {},
"post": {
"Content-Type": "application/x-www-form-urlencoded"
},
"put": {
"Content-Type": "application/x-www-form-urlencoded"
},
"patch": {
"Content-Type": "application/x-www-form-urlencoded"
},
"user-agent": "NONISV|SharePointPnP|CLIMicrosoft365/4.3.0",
"accept-encoding": "gzip, deflate",
"accept": "application/json",
"authorization": "Bearer xxx"
},
"decompress": true,
"responseType": "json",
"url": "https://management.azure.com/providers/Microsoft.ProcessSimple/scopes/admin/environments/default-021ee864-951d-4f25-a5c3-b6d4412c4052/flows/3126a4e4-71b9-49d8-802d-734a71534ff4?api-version=2016-11-01",
"method": "get"
}
Response:
{
"url": "https://management.azure.com/providers/Microsoft.ProcessSimple/scopes/admin/environments/default-021ee864-951d-4f25-a5c3-b6d4412c4052/flows/3126a4e4-71b9-49d8-802d-734a71534ff4?api-version=2016-11-01",
"status": 200,
"statusText": "OK",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"transfer-encoding": "chunked",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"vary": "Accept-Encoding,Accept-Encoding",
"x-ms-request-id": "westeurope:ea42789d-7dd2-4104-86d7-aa40d8ad5408",
"x-ms-correlation-request-id": "4d051fea-6ad7-471f-b213-1a719423a2d4",
"x-ms-flow-mobile-ios-version": "1.3.0",
"x-ms-flow-routing-request-id": "WESTEUROPE:20220126T204145Z:ea42789d-7dd2-4104-86d7-aa40d8ad5408",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-ms-ratelimit-remaining-tenant-reads": "11999",
"x-ms-routing-request-id": "WESTEUROPE:20220126T204145Z:4d051fea-6ad7-471f-b213-1a719423a2d4",
"date": "Wed, 26 Jan 2022 20:41:45 GMT",
"connection": "close"
},
"data": {
"name": "3126a4e4-71b9-49d8-802d-734a71534ff4",
"id": "/providers/Microsoft.ProcessSimple/environments/Default-021ee864-951d-4f25-a5c3-b6d4412c4052/flows/3126a4e4-71b9-49d8-802d-734a71534ff4",
"type": "Microsoft.ProcessSimple/environments/flows",
"properties": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_logicflows",
"displayName": "TestFlow",
"userType": "NotSpecified",
"triggerSchema": {
"type": "object",
"properties": {},
"required": []
},
"state": "Started",
"connectionReferences": {
"shared_sendmail": {
"connectionName": "shared-sendmail-831dbdfb-10cb-4db2-9401-9083-06196eb2",
"apiDefinition": {
"name": "shared_sendmail",
"id": "/providers/Microsoft.PowerApps/apis/shared_sendmail",
"type": "/providers/Microsoft.PowerApps/apis",
"properties": {
"displayName": "Mail",
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1528/1.0.1528.2589/sendmail/icon.png",
"purpose": "NotSpecified",
"connectionParameters": {},
"scopes": {
"will": [],
"wont": []
},
"runtimeUrls": [
"https://europe-002.azure-apim.net/apim/sendmail"
],
"primaryRuntimeUrl": "https://europe-002.azure-apim.net/apim/sendmail",
"metadata": {
"source": "marketplace",
"brandColor": "#008299",
"useNewApimVersion": "true",
"version": {
"previous": "releases/v1.0.1520\1.0.1520.2570",
"current": "releases/v1.0.1528\1.0.1528.2589"
}
},
"capabilities": [
"actions"
],
"tier": "Standard",
"isCustomApi": false,
"description": "Mail Connection Provider lets you send email notification.",
"termsOfUseUrl": "https://az818438.vo.msecnd.net/codelessapis/sendmail/tos.html",
"createdTime": "2018-10-22T17:17:29.6094831Z",
"changedTime": "2021-10-14T16:38:23.6175394Z",
"publisher": "Microsoft"
}
},
"source": "Invoker",
"id": "/providers/Microsoft.PowerApps/apis/shared_sendmail",
"displayName": "Mail",
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1528/1.0.1528.2589/sendmail/icon.png",
"brandColor": "#008299",
"swagger": {
"swagger": "2.0",
"info": {
"version": "1.0",
"title": "Mail",
"description": "Mail Connection Provider lets you send email notification.",
"x-ms-api-annotation": {
"status": "Production"
},
"contact": {
"name": "Microsoft"
}
},
"host": "europe-002.azure-apim.net",
"basePath": "/apim/sendmail",
"schemes": [
"https"
],
"paths": {
"/{connectionId}/mail/send": {
"post": {
"tags": [
"Mail"
],
"summary": "Send an email notification",
"description": "Send an email notification to the specified email addresses.",
"operationId": "SendEmail",
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "connectionId",
"in": "path",
"required": true,
"type": "string",
"x-ms-visibility": "internal"
},
{
"name": "request",
"in": "body",
"description": "The email message to send.",
"required": true,
"schema": {
"$ref": "#/definitions/EmailRequest"
},
"x-ms-summary": "Email to send"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Object"
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
},
"429": {
"description": "Too Many Requests"
},
"500": {
"description": "Internal Server Error. Unknown error occurred"
},
"default": {
"description": "Operation Failed."
}
},
"deprecated": true,
"x-ms-visibility": "important",
"x-ms-api-annotation": {
"status": "Production",
"family": "SendEmail",
"revision": 1
},
"externalDocs": {
"url": "https://docs.microsoft.com/connectors/sendmail/#send-an-email-notification-%5bdeprecated%5d"
}
}
},
"/{connectionId}/api/mail.send.json": {
"post": {
"tags": [
"Mail"
],
"summary": "Send an email notification",
"description": "Send an email notification to the specified email addresses.",
"operationId": "SendEmailV2",
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "connectionId",
"in": "path",
"required": true,
"type": "string",
"x-ms-visibility": "internal"
},
{
"name": "request",
"in": "body",
"description": "The email message to send.",
"required": true,
"schema": {
"$ref": "#/definitions/EmailRequest"
},
"x-ms-summary": "Email to send"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/EmailResponse"
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
},
"429": {
"description": "Too Many Requests"
},
"500": {
"description": "Internal Server Error. Unknown error occurred"
},
"default": {
"description": "Operation Failed."
}
},
"deprecated": true,
"x-ms-visibility": "internal",
"x-ms-api-annotation": {
"status": "Production",
"family": "SendEmail",
"revision": 2
},
"externalDocs": {
"url": "https://docs.microsoft.com/connectors/sendmail/#send-an-email-notification-%5bdeprecated%5d"
}
}
},
"/{connectionId}/v3/mail/send": {
"post": {
"tags": [
"Mail"
],
"summary": "Send an email notification (V3)",
"description": "Send an email notification to the specified email addresses.",
"operationId": "SendEmailV3",
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "connectionId",
"in": "path",
"required": true,
"type": "string",
"x-ms-visibility": "internal"
},
{
"name": "request",
"in": "body",
"description": "The email message to send.",
"required": true,
"schema": {
"$ref": "#/definitions/EmailRequestV3"
},
"x-ms-summary": "Email to send (V3)"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Object"
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
},
"429": {
"description": "Too Many Requests"
},
"500": {
"description": "Internal Server Error. Unknown error occurred"
},
"default": {
"description": "Operation Failed."
}
},
"deprecated": false,
"x-ms-visibility": "important",
"x-ms-api-annotation": {
"status": "Production",
"family": "SendEmail",
"revision": 3
},
"externalDocs": {
"url": "https://docs.microsoft.com/connectors/sendmail/#send-an-email-notification-(v3)"
}
}
}
},
"definitions": {
"EmailRequest": {
"description": "Email Request",
"required": [
"to",
"subject",
"text"
],
"type": "object",
"properties": {
"to": {
"description": "A list of valid email addresses separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "To",
"x-ms-dynamic-values": {
"builtInOperation": "AadGraph.GetUsers",
"parameters": {},
"value-path": "mail"
}
},
"toname": {
"description": "A display name for each email address separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "To Names",
"x-ms-visibility": "advanced"
},
"subject": {
"description": "The subject of the email.",
"type": "string",
"x-ms-summary": "Subject"
},
"text": {
"description": "The content of the email.",
"type": "string",
"x-ms-summary": "Body"
},
"ishtml": {
"description": "Specify whether the content of the email is HTML or plain text.",
"default": true,
"type": "boolean",
"x-ms-summary": "Is Html",
"x-ms-visibility": "advanced"
},
"cc": {
"description": "A list valid email addresses to CC separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "CC",
"x-ms-visibility": "advanced"
},
"ccname": {
"description": "A display name for each CC email address separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "CC Names",
"x-ms-visibility": "advanced"
},
"bcc": {
"description": "A list of valid email addresses to BCC separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "BCC",
"x-ms-visibility": "advanced"
},
"bccname": {
"description": "A display name for each BCC email address separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "BCC Names",
"x-ms-visibility": "advanced"
},
"files": {
"format": "byte",
"description": "The file content to send as an attachment.",
"type": "string",
"x-ms-summary": "Attachment",
"x-ms-visibility": "advanced"
},
"filenames": {
"description": "The file name for the attachment.",
"type": "string",
"x-ms-summary": "Attachment File Name",
"x-ms-visibility": "advanced"
}
}
},
"Object": {
"type": "object",
"properties": {}
},
"EmailResponse": {
"description": "Send email response.",
"type": "object",
"properties": {
"message": {
"description": "The status message from send email response, either 'success' or 'failure'.",
"type": "string",
"x-ms-summary": "Status"
}
}
},
"EmailRequestV3": {
"description": "Email Request (V2)",
"required": [
"text",
"to",
"subject",
"ishtml"
],
"type": "object",
"properties": {
"to": {
"description": "A list of valid email addresses separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "To",
"x-ms-dynamic-values": {
"builtInOperation": "AadGraph.GetUsers",
"parameters": {},
"value-path": "mail"
}
},
"toname": {
"description": "A display name for each email address separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "To Names",
"x-ms-visibility": "advanced"
},
"subject": {
"description": "The subject of the email.",
"type": "string",
"x-ms-summary": "Subject"
},
"text": {
"format": "html",
"description": "The content of the email.",
"type": "string",
"x-ms-summary": "Body"
},
"ishtml": {
"description": "Specify whether the content of the email is HTML or plain text.",
"default": true,
"type": "boolean",
"x-ms-summary": "Is Html",
"x-ms-visibility": "internal"
},
"cc": {
"description": "A list valid email addresses to CC separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "CC",
"x-ms-visibility": "advanced"
},
"ccname": {
"description": "A display name for each CC email address separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "CC Names",
"x-ms-visibility": "advanced"
},
"bcc": {
"description": "A list of valid email addresses to BCC separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "BCC",
"x-ms-visibility": "advanced"
},
"bccname": {
"description": "A display name for each BCC email address separated by a semicolon or a comma.",
"type": "string",
"x-ms-summary": "BCC Names",
"x-ms-visibility": "advanced"
},
"files": {
"format": "byte",
"description": "The file content to send as an attachment.",
"type": "string",
"x-ms-summary": "Attachment",
"x-ms-visibility": "advanced"
},
"filenames": {
"description": "The file name for the attachment.",
"type": "string",
"x-ms-summary": "Attachment File Name",
"x-ms-visibility": "advanced"
}
}
}
},
"externalDocs": {
"url": "https://docs.microsoft.com/connectors/sendmail"
}
},
"tier": "Standard"
}
},
"createdTime": "2021-12-27T20:23:02.9352548Z",
"lastModifiedTime": "2021-12-27T21:01:22.5527518Z",
"flowSuspensionReason": "None",
"environment": {
"name": "Default-021ee864-951d-4f25-a5c3-b6d4412c4052",
"type": "Microsoft.ProcessSimple/environments",
"id": "/providers/Microsoft.ProcessSimple/environments/Default-021ee864-951d-4f25-a5c3-b6d4412c4052"
},
"definitionSummary": {
"triggers": [
{
"type": "Request",
"kind": "Button",
"metadata": {
"operationMetadataId": "d6beec87-019d-417d-a058-764152292ab4"
}
}
],
"actions": [
{
"type": "OpenApiConnection",
"swaggerOperationId": "SendEmailV3",
"metadata": {
"operationMetadataId": "36f521c8-1346-4242-be3f-1ca4ef1a756f"
},
"api": {
"name": "shared_sendmail",
"id": "/providers/Microsoft.PowerApps/apis/shared_sendmail",
"type": "/providers/Microsoft.PowerApps/apis",
"properties": {
"displayName": "Mail",
"iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1528/1.0.1528.2589/sendmail/icon.png",
"metadata": {
"source": "marketplace",
"brandColor": "#008299",
"useNewApimVersion": "true",
"version": {
"previous": "releases/v1.0.1520\1.0.1520.2570",
"current": "releases/v1.0.1528\1.0.1528.2589"
}
},
"tier": "Standard",
"isCustomApi": false,
"description": "Mail Connection Provider lets you send email notification."
}
}
}
]
},
"creator": {
"tenantId": "021ee864-951d-4f25-a5c3-b6d4412c4052",
"objectId": "d4cabac6-4bae-4d8b-bd39-564243f1eace",
"userId": "d4cabac6-4bae-4d8b-bd39-564243f1eace",
"userType": "ActiveDirectory"
},
"provisioningMethod": "FromDefinition",
"flowFailureAlertSubscribed": true,
"referencedResources": []
}
}
}
C:\Users\Administrator\AppData\Roaming\npm\node_modules@pnp\cli-microsoft365\dist\m365\flow\commands\flow-get.js:32
res.triggers = Object.keys(res.properties.definition.triggers).join(', ');
^

TypeError: Cannot read properties of undefined (reading 'triggers')
at C:\Users\Administrator\AppData\Roaming\npm\node_modules@pnp\cli-microsoft365\dist\m365\flow\commands\flow-get.js:32:66
at processTicksAndRejections (node:internal/process/task_queues:96:5)

CLI for Microsoft 365 version

CLI for Microsoft 365 v4.3.0

nodejs version

v16.13.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

{
"os": {
"platform": "win32",
"version": "Windows Server 2022 Standard",
"release": "10.0.20348"
},
"cliVersion": "4.3.0",
"nodeVersion": "v16.13.0",
"cliAadAppId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
"cliAadAppTenant": "organizations",
"authMode": "Password",
"cliEnvironment": "",
"cliConfig": {},
"roles": [],
"scopes": [
"AllSites.FullControl",
"AppCatalog.ReadWrite.All",
"ChannelMember.ReadWrite.All",
"ChannelMessage.Read.All",
"ChannelMessage.Send",
"ChannelSettings.ReadWrite.All",
"Directory.AccessAsUser.All",
"Directory.ReadWrite.All",
"Group.ReadWrite.All",
"IdentityProvider.ReadWrite.All",
"Mail.ReadWrite",
"Mail.Send",
"Policy.Read.All",
"Reports.Read.All",
"ServiceMessage.Read.All",
"Tasks.ReadWrite",
"Team.Create",
"TeamMember.ReadWrite.All",
"TeamsApp.ReadWrite.All",
"TeamsAppInstallation.ReadWriteForUser",
"TeamSettings.ReadWrite.All",
"TeamsTab.ReadWrite.All",
"TermStore.ReadWrite.All",
"User.Invite.All",
"User.ReadWrite.All",
"profile",
"openid",
"email",
"user_impersonation"
]
}

Additional Info

Other CLI commands for flow work without problems, for example "m365 flow list"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions