Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-7753

[rhdh-chart] Add support for [skip-build] tag in commit messages to skip the CI jobs and save some time

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Helm Chart
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH Plugins 3274

      Similar to what was done for RHIDP-7641, it would be beneficial to provide a way to skip running the CI jobs if the commit message contains a tag like `[skip-build]`, to save some useless cycle if the PR author knows that the commit should not affect CI.

      Note that GitHub provides a way to skip workflow runs for `push` and `pull_request` events, but the problem is that this may leave the PR checks stuck in a "Pending" state if there are required checks configured. Also, this mechanism is ignored for workflows triggered on `pull_request_target` events. See https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/skipping-workflow-runs for further details.

      *Acceptance Criteria*

      • It should handle the `[skip-build]` tag in the lint.yaml workflow
      • It should handle the `[skip-build]` tag in the pre-commit.yaml workflow
      • It should handle the `[skip-build]` tag in the test.yaml workflow

              Unassigned Unassigned
              rh-ee-asoro Armel Soro
              Gustavo Lira Silva, Nick Boldt
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: