Hi,
I have a Github Action that deploys PRs to Railway. It's based on https://github.com/Faolain/railway-pr-deploy with some changes that I made.
It has been working great up until the last week or so, it appears as if something changed with the API, and ever since I'm getting the following error:
{
"response": {
"errors": [
{
"message": "Cannot create trigger for repo user does not have access to",
"locations": [{ "line": 3, "column": 9 }],
"path": ["environmentCreate"],
"extensions": { "code": "INTERNAL_SERVER_ERROR" },
"traceId": "5441697194652517304"
}
],
"data": null,
"status": 200,
"headers": {}
},
"request": {
"query": "\n mutation environmentCreate($input: EnvironmentCreateInput!) {\n environmentCreate(input: $input) {\n id\n name\n createdAt\n deploymentTriggers {\n edges {\n node {\n id\n environmentId\n branch\n projectId\n }\n }\n }\n serviceInstances {\n edges {\n node {\n id\n domains {\n serviceDomains {\n domain\n id\n }\n }\n serviceId\n }\n }\n }\n }\n }\n ",
"variables": {
"input": {
"name": "***",
"projectId": "***",
"sourceEnvironmentId": "***"
}
}
}
}
If it matters, I'm using a global token (ie from my account settings, not a project settings).
Would appreciate any help with this!