Dev/pr automation 5 (#1564)
Build and Deploy on local RHEL9 / build (push) Successful in 2m0s
Build on RHEL9 docker image / build (push) Successful in 4m7s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Build on RHEL8 docker image / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Failing after 10m14s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s

* check the presence of release notes

* release notes found should not include heading

* debugging

* typo

* typo

* trim out no release note checkbox as well

* refactored to only read current section

* minor

* release note now triggered after detector labels, removed no relaes note checkbox, also checking if its developing detector label only, then also release note not required, adding a fake ai assisted releae note if found locally, removing adding release notelabel

* minor

* print

* to run everytim

* typo

* ai assisted

* into steps

* coimment out release notes workflow

* read permissions

* copilot

* removed ai assisted notes

* refactored
This commit is contained in:
maliakal_d authored and GitHub committed 2026-09-21 11:26:19 +02:00
1 parent 75026a0f6b
commit b93520bba5
2 files changed
+310 -8

No files matched your search

+48 -8
View File
@@ -1,4 +1,4 @@
# This workflow is triggered when opening/reopening PR, editing the PR description or changing labels. It ignores unrelated label changes. It runs PR type validation and if it succeeds, it runs PR milestone and detector labels workflow in parallel.
# This workflow is triggered when opening/reopening PR, editing the PR description or changing labels. It ignores unrelated label changes. It runs PR type validation and if it succeeds, it runs PR milestone, release notes, file version and detector labels workflow in parallel.
name: PR Edit Trigger
on:
@@ -13,6 +13,7 @@ on:
permissions:
pull-requests: write
contents: read
models: read
jobs:
check-pr-trigger:
@@ -102,7 +103,17 @@ jobs:
contents: read
milestone:
needs: validate-pr-type
needs:
- check-pr-trigger
- validate-pr-type
if: >-
${{
always() &&
(
needs.check-pr-trigger.outputs.require_validation == 'false' ||
needs.validate-pr-type.result == 'success'
)
}}
uses: ./.github/workflows/pr_milestone.yaml
with:
pr_number: ${{ github.event.pull_request.number }}
@@ -111,7 +122,17 @@ jobs:
contents: read
detector-labels:
needs: validate-pr-type
needs:
- check-pr-trigger
- validate-pr-type
if: >-
${{
always() &&
(
needs.check-pr-trigger.outputs.require_validation == 'false' ||
needs.validate-pr-type.result == 'success'
)
}}
uses: ./.github/workflows/pr_detector_labels.yaml
with:
pr_number: ${{ github.event.pull_request.number }}
@@ -119,6 +140,25 @@ jobs:
pull-requests: write
issues: read
release-notes:
needs:
- check-pr-trigger
- detector-labels
if: >-
${{
always() &&
(
needs.check-pr-trigger.outputs.require_validation == 'false' ||
needs.detector-labels.result == 'success'
)
}}
uses: ./.github/workflows/pr_release_notes.yaml
with:
pr_number: ${{ github.event.pull_request.number }}
permissions:
pull-requests: read
contents: read
file-version:
needs:
- check-pr-trigger
@@ -127,11 +167,11 @@ jobs:
${{
always() &&
(
needs.check-pr-trigger.outputs.file_label_change == 'true' ||
(
needs.check-pr-trigger.outputs.pr_edited == 'true' &&
needs.validate-pr-type.result == 'success'
)
needs.check-pr-trigger.outputs.file_label_change == 'true'
) ||
(
needs.check-pr-trigger.outputs.require_validation == 'false' ||
needs.validate-pr-type.result == 'success'
)
}}
uses: ./.github/workflows/pr_file_version.yaml