Https://github.com/junegunn/fzf.wiki.git

type or paste code here
```![2021-10-02 03.16.57|353x500](upload://4i63OdgxWBBtMLxVrpz8fLbvCTa.jpeg)

type or paste code here


`

[quote="syntaxcoloring, post:1, topic:204291, full:true"]
We have a workflow that we want to run whenever *either* of the following are true:

1. A push, to any branch, modifies certain paths.
2. A tag is pushed that looks like `docs@foo`.

Here is what we have so far:

https://github.com/Opentrons/opentrons/blob/26f8ea431ca75881c71a24d887b85daae1d4738c/.github/workflows/docs-build.yaml#L7-L18

Unexpectedly, this does not seem to run at all when a commit modifies the designated paths but *isn't* tagged with `docs@foo`. [Here's an example PR](https://github.com/Opentrons/opentrons/pull/8452) that I expect to trigger the workflow, but doesn't.

What am I missing? I expect `on.push.paths` and `on.push.tags` to be evaluated with a logical `OR`. Is it logical `AND` instead, or something?
[/quote]



`

hub.git)`Preformatted text`[Processing: music-218463.zip...]()

type or paste code here

It’s a bit hard to read your message, because it’s not well formatted.

  1. A push, to any branch, modifies certain paths.

With path you probably mean a specific folder inside your directory?
Then you find the answer here: Workflow syntax for GitHub Actions - GitHub Docs

  1. A tag is pushed that looks like docs@foo.

You find your answer here: Workflow syntax for GitHub Actions - GitHub Docs

To have multiple triggers in one workflow, simple put a blank line in between.
Example:

on:
  push:
    branches:
      - main

  pull_request:
    branches:
      - main

  schedule:
    - cron:  "0 0 * * *"