# CircleCi equivalence to Github actions "on"

**URL:** <https://discuss.circleci.com/t/circleci-equivalence-to-github-actions-on/42027>\
**Category:** Build Environment\
**Tags:** github, nodejs, circle-yml\
**Created:** [November 23, 2021, 12:46pm UTC](https://discuss.circleci.com/t/circleci-equivalence-to-github-actions-on/42027 "2021-11-23T12:46:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wammy123](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/wammy123/32/28721_2.png) [@wammy123](https://discuss.circleci.com/u/wammy123)\
**Post date:** [November 23, 2021, 12:46pm UTC](https://discuss.circleci.com/t/circleci-equivalence-to-github-actions-on/42027/1 "2021-11-23T12:46:43Z")

</div>

Hello

Im in the process of migrating from Github actions to CircleCi

With Github actions we can do the following:

```auto
on:
  pull_request:
    branches: [master]
    paths:
      - apps/**
      - libs/**

```

Github will then only trigger the action on a pull request to master.  
My need is as following.  
Multiple workflows to run on **pull request** to master based on the path of the changes(see above snippet)  
One workflow to run on **merge** to master.

Is this at all possible on CircleCi

Thank you

---

<div class="post-metadata">

**Author:** ![kelvintaywl](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/kelvintaywl/32/28141_2.png) [@kelvintaywl](https://discuss.circleci.com/u/kelvintaywl)\
**Post date:** [November 27, 2021, 10:45am UTC](https://discuss.circleci.com/t/circleci-equivalence-to-github-actions-on/42027/2 "2021-11-27T10:45:52Z")

</div>

Hey @wammy123 ,

Thanks for considering CircleCI!

In terms of triggering specific workflows based on the filepaths of files changed, Dynamic configuration would be the feature you’re looking for, and in addition, the path-filtering Orb!

You can take a look at the configuration cookbook as a sample: [CircleCI Configuration Cookbook - CircleCI](https://circleci.com/docs/2.0/configuration-cookbook/?section=examples-and-guides#execute-specific-workflows-or-steps-based-on-which-files-are-modified)

You can think of CircleCI orbs as collections of actions you can import over; they are kind of like “packages” you can “install” for your config 🙂

Hope this helps you get started on CircleCI!
