I have the following github workflow definition:
name: Build
on:
pull_request:
types: [ opened, edited, synchronize ]
paths-ignore:
- '**.md'
push:
branches:
- main
jobs:
get-job:
name: My job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Say hello
run: |
echo Hello!
- I create a pull request from the head-branch to base-branch. The workflow is triggered as expected.
- I commit and push a change to head-branch. The workflow is triggered as expected.
- I commit and push another change to head-branch. The workflow is NOT triggered as expected:
I have read the documentation and other sources, all of which describe the synchronize type as the type I need to use to ensure every new change in the PR triggers the workflow. Why does it work intermitently?
