Is it possible to run this tests in Github actions every time a branch is merged into develop?

Is it possible to run this tests in Github actions every time a branch is merged into develop? I am kinda new in automation testing and I was given access to this github. And they ask me if that question. I also failed in running or installing this on my computer.

Screenshot below

It’s probably easiest to use the push event with a branch filter, something like:

on:
  push:
    branches:    
      - develop

Note that this will trigger on any push to develop, not exclusively merges. If you really need a “merges only” thing you could use a branch protection rule to prevent direct pushes to the branch, so changes have to go through a pull request (merging it will trigger a push event on the target branch).

1 Like