I have a github action workflow validate which currently runs on
on:
pull_request:
types: [opened, synchronize, reopened, edited]
there are multiple jobs in this workflow - but for the 1st job - I don't want it to run when a PR is edited.
Hence I've written something like:
jobs:
run_tests:
name: Run Tests
continue-on-error: false
if: github.event.pull_request.edited != true
But this is not working - when I edit the pull request - the 1st job starts running...
I had even tried with
if: github.event.pull_request.action != 'edited'
How can I prevent this sub-job from running only for a specific pull_request event.
Thanks again Prabhas