I want to update my yml file to ignore commits from certain users. Is this possible? Is there a similar solution? Ideally I wouldn't even want to trigger the build in the first place.
Pseudo code example of yml file (ignore syntax, I'm just showcasing what I'm trying to do)
user = git show -s --format='%ae' $BITBUCKET_COMMIT
unwantedUser = "person@mail.com"
pipelines:
tags:
'**' && user != unwantedUser:
- step:
script:
(...)
What would be the actual syntax to achieve that?
I ended up including the [skip ci]
string in my commit messages to avoid triggering the pipeline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.