-
I have a project that uses cypress dashboard. To access this we use 20 runners (our max concurrency) and a secret token. This uses
otherwise when one runner fails they will terminate without updating the cypress dashboard. When we recieve a PR from a fork it takes up all 20 of our available runners, but only uses 1 (because it does not have the secret token). This takes ~3 hours. Is it possible to detect if the PR came from a fork so I can adjust the matrix size? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I found the following works (ensure you replace org/repo). Fork:
Not a fork:
|
Beta Was this translation helpful? Give feedback.
-
This also seems to work which is more generic, than actually naming the repo:
|
Beta Was this translation helpful? Give feedback.
-
In case it’s useful for someone, I wanted to filter
I was able to do so by using:
|
Beta Was this translation helpful? Give feedback.
-
Hi, you can now check if fork directly using the boolean provided in the payload: |
Beta Was this translation helpful? Give feedback.
I found the following works (ensure you replace org/repo).
Fork:
Not a fork: