mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-09-21 14:22:09 +02:00
Build on RHEL9 docker image / build (push) Successful in 3m54s
Build on RHEL8 docker image / build (push) Successful in 5m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
Build and Deploy on local RHEL9 / build (push) Canceled after 0s
Run Simulator Tests on local RHEL9 / build (push) Canceled after 0s
* workflow for detector whole word matching from changes in detectorServer folders, matching in pr title description, linked or references issues and prs, change in code with matching labels, add detector labels * comment * do not look at linked issues or prs * removed warning of deprecated node 20 github maybe? * ignore for infrastructure prs * ignore infrastrucutr prs * makign detector labels a reusable workflow and pr synchronize trigger trigger at synchronize and wait for validation worfklow to be done first * synchronize triger just checks if pr validation is complete and successfull, if not it fails, else it will run detector labesl workflow. it will not wait for pr validation * pr validation should also call detector labels workflow * picked up pr_validation from developer and modified * test sync * removed commit * trigger is just for code sync * look at head branch PRs to find it * ignoring some other workflows for now * no need of if as anything failing before the consequent jobs are skipped anyway * ignore tests fo rnow * make detector labels run all * without pr validate * fix error pr * renaming to make sense * naming * all the triggers are in a different workflow and all the big jobs in separate resuable workflows * validate pr type also separated * validation doesnt have any output anymore because its either setfailed or not, the unrelated labesl output have been moved to edit trigger workflow anyway * minor * add file major and minor version labels * give permissions * changing file version labels should also trigger the file version workflow * fix code * more explicit print * more print * typo * if file major and no brekaing api label, throw error * trigger file version workflow also if brekaing api label change * print message * if file label change, check file version directly, if pr edited, then wait for pr validation and then check file ersion workflow
29 lines
699 B
YAML
29 lines
699 B
YAML
# This workflow is triggered when code is pushed to a pull request. It runs the reusable detector label workflow and the file version workflow in parallel.
|
|
|
|
name: PR Synchronize Trigger
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- synchronize
|
|
|
|
permissions:
|
|
actions: read
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
detector-labels:
|
|
uses: ./.github/workflows/pr_detector_labels.yaml
|
|
with:
|
|
pr_number: ${{ github.event.pull_request.number }}
|
|
permissions:
|
|
pull-requests: write
|
|
issues: read
|
|
|
|
file-version:
|
|
uses: ./.github/workflows/pr_file_version.yaml
|
|
with:
|
|
pr_number: ${{ github.event.pull_request.number }}
|
|
permissions:
|
|
pull-requests: write
|
|
contents: read |