-
With the help of this fine community I previously set up a workflow that lints my code and pushes it back to the pull request. I was told this would not work when coming from a fork as it used So, I now have a pull request from a fork and as expected the workflow fails with “branch not found”. I’d like to run the workflow only if it comes from me and isnt from a fork. I’ve set up a simpler workflow to run for others and I need this to run when it isnt me. I tried the following but got an error of “Unexpected symbol: ‘“Snayff”’.” Even if that didnt error out I wonder if I am looking at the wrong property.
Any help would be appreciated. Snayff |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Any ideas? Or is this not possible? |
Beta Was this translation helpful? Give feedback.
-
You need to use single quotes in expressions: You should also take a look here: |
Beta Was this translation helpful? Give feedback.
-
You star, thank you - that was exactly it. I checked the following at job level.
|
Beta Was this translation helpful? Give feedback.
You need to use single quotes in expressions:
'Snayff'
You should also take a look here: