Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2063

[Tech Debt][Operator] Avoid committing changes in CI using the GH Actions bot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.6.0
    • Operator
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      Description of problem:

      When using the GH Actions bot to commit changes detected (bundle manifests), we may end up in a situation where the PR checks won't run.
      This is due to a deliberate limitation imposed by GitHub Actions that events raised by a workflow (such as push) cannot trigger further workflow runs. This is to prevent accidental “infinite loop” situations, and as an anti-abuse measure. See https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/trigger-a-workflow#triggering-a-workflow-from-a-workflow

      In this case, we need to manually close the PR and immediately reopen it to retrigger the PR checks.
      See https://github.com/redhat-developer/rhdh-operator/pull/1651#issuecomment-3306698518

      We could switch to using the RHDH Bot instead.

              Unassigned Unassigned
              rh-ee-asoro Armel Soro
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: