Action not starting when editing the PR title or description

@yaananth

When editing the PR title or description the Action is triggered once, but it does not trigger again once the action is finished and I edit the title or description again.

At the end of this action, a commit with [skip cli] is added to avoid running the action again. Because of this commit, if I edit the PR title or description the action will no longer be triggered. Is it a known issue?

This action works because It starts and finishes without a problem when opening the PR or pushing new commits. But it does not start when I edit the title.

obs: Github Services are up and running, so it is not a problem related to it.

This is my action:

name: Bump Version Workflow

on:
  pull_request:
    types: [opened, synchronize, edited]
    branches:
      - main

  workflow_dispatch:

jobs:
  get-mulesoft-apps:
    name: Get Mulesoft Apps
    uses: VodafoneIS/mulesoft/.github/workflows/get-mulesoft-apps.yml@main

  bump-version:
    name: bump version
    needs: get-mulesoft-apps
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/vodafoneis/mulesoft-build-image:main
      credentials:
        username: ${{ github.actor }}
        password: ${{ secrets.GITHUB_TOKEN }}

    strategy:
      matrix:
        MULESOFT_APP: ${{ fromJson(needs.get-mulesoft-apps.outputs.MULESOFT_APPS) }}

    defaults:
      run:
        working-directory: ${{ matrix.MULESOFT_APP }}

    steps:
      - uses: actions/checkout@v2
        with:
          ref: ${{ github.event.pull_request.head.ref }}

      - name: print app name
        run: echo ${{ matrix.MULESOFT_APP }}

      - uses: fregante/setup-git-user@v1

      - name: get bump type
        id: get-bump-type
        run: /scripts/get_bump_type.sh -a ${{ matrix.MULESOFT_APP }} -t "${{ github.event.pull_request.title }}" -b "${{ github.event.pull_request.body}}"

      - name: bump version
        run: /scripts/bump_version.sh -a ${{ matrix.MULESOFT_APP }} -t ${{ steps.get-bump-type.outputs.BUMP_TYPE }} -b ${{ github.event.pull_request.head.ref }}