[Help needed] Conditional build with"sender" tag

conditions
#1

Hello

I’ve read the Conditional Builds but I don’t understand where should I declare the condition.

I want to trigger a build ONLY if the sender is not Travis bot.

Where should I declare my condition?

PS: right now I’m using sender condition as declared in travis-conditions

if: sender != traviscibot OR sender != Travis # Don't build if build request was triggered by Travis

dist: xenial
language: generic
rvm:
  - 2.2

cache:
  directories:
  - node_modules

before_script:
  - npm install
  - gem install awesome_bot
script:
    - npm run build # Build new Readme
    - awesome_bot README.md --allow-redirect --allow-ssl --skip-save-results --allow-dupe # Check the links
deploy:
  provider: pages
  target_branch: master # Push to master
  skip_cleanup: true
  github_token: $GITHUB_TOKEN  # Set in the settings page of your repository, as a secure variable
  keep_history: true
  on:
    branch: master