Skip to content

Update workflows to support pull_request event and artifact layout#73

Merged
ffrancis123 merged 1 commit into
AudioReach:masterfrom
ffrancis123:switch
Jun 3, 2026
Merged

Update workflows to support pull_request event and artifact layout#73
ffrancis123 merged 1 commit into
AudioReach:masterfrom
ffrancis123:switch

Conversation

@ffrancis123
Copy link
Copy Markdown
Contributor

Update sync action to use pull_request instead of pull_request_target to align with updated workflow trigger behavior.

Update test workflow to consume presigned URLs from bundled artifact instead of per-matrix files. Adjust download path and read logic to handle nested artifact directories.

Add path handling using path.join and improve logging for debugging artifact structure and file resolution.

@ffrancis123 ffrancis123 requested review from a team May 26, 2026 10:18
ffrancis123 added a commit to ffrancis123/audioreach-conf that referenced this pull request May 26, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
Comment thread .github/workflows/test.yml Outdated
ffrancis123 added a commit to ffrancis123/audioreach-conf that referenced this pull request May 27, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
Update sync action to use pull_request instead of pull_request_target
to align with updated workflow trigger behavior.

Update test workflow to consume presigned URLs from bundled artifact
instead of per-matrix files. Adjust download path and read logic to
handle nested artifact directories.

Add path handling using path.join and improve logging for debugging
artifact structure and file resolution.

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
Comment thread .github/actions/aws-s3-exchanger/action.yml
Comment thread .github/workflows/process_image.yml
@ffrancis123 ffrancis123 merged commit 9980c4c into AudioReach:master Jun 3, 2026
10 of 13 checks passed
ffrancis123 added a commit to ffrancis123/audioreach-pal that referenced this pull request Jun 4, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-graphservices that referenced this pull request Jun 4, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-audio-utils that referenced this pull request Jun 4, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-graphmgr that referenced this pull request Jun 4, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-pipewire-plugin that referenced this pull request Jun 4, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-pulseaudio-plugin that referenced this pull request Jun 4, 2026
Switch trigger from pull_request_target to pull_request to improve
security and align with standard GitHub Actions practices. Normalize
YAML formatting and dependencies for clarity. [1]

Simplify test matrix filtering by refining jq logic, validating JSON,
and supporting both object and array formats. Persist the filtered
matrix to test_matrix.json and upload it as an artifact.

Replace inline LAVA trigger with trigger_lava_on_success workflow,
which runs after a successful build, retrieves artifacts, extracts the
build URL, and invokes LAVA tests with the prepared matrix.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-pulseaudio-plugin that referenced this pull request Jun 4, 2026
Align pre-merge build workflows with audioreach-workflows [1].
Refactor CI logic to improve security, reusability, and clarity.
Switch the workflow trigger from pull_request_target to
pull_request to follow standard GitHub Actions practices and
enhance security. Normalize YAML formatting and dependencies [2].

Refactor build and test orchestration by introducing filtering of
test-ready entries from the build matrix using improved jq logic
with JSON validation and support for both object and array formats.
Persist the filtered results to test_matrix.json and upload it as
an artifact for downstream use.

Replace inline LAVA triggering with the trigger_lava_on_success
workflow. Run it after successful builds to retrieve artifacts,
extract build metadata, and trigger LAVA tests using the prepared
filtered matrix.

Add a reusable pre_build script to fetch the SDK from AWS S3 and
move setup logic out of CI. Enable reuse in standalone and local
build environments.

Grant required workflow permissions (checks and pull-requests
write) to enable PR checks and allow the trigger_lava job to
function correctly.

[1] AudioReach/audioreach-workflows#38
[2] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-pipewire-plugin that referenced this pull request Jun 4, 2026
Align pre-merge build workflows with audioreach-workflows [1].
Refactor CI logic to improve security, reusability, and clarity.
Switch the workflow trigger from pull_request_target to
pull_request to follow standard GitHub Actions practices and
enhance security. Normalize YAML formatting and dependencies [2].

Refactor build and test orchestration by introducing filtering of
test-ready entries from the build matrix using improved jq logic
with JSON validation and support for both object and array formats.
Persist the filtered results to test_matrix.json and upload it as
an artifact for downstream use.

Replace inline LAVA triggering with the trigger_lava_on_success
workflow. Run it after successful builds to retrieve artifacts,
extract build metadata, and trigger LAVA tests using the prepared
filtered matrix.

Add a reusable pre_build script to fetch the SDK from AWS S3 and
move setup logic out of CI. Enable reuse in standalone and local
build environments.

Grant required workflow permissions (checks and pull-requests
write) to enable PR checks and allow the trigger_lava job to
function correctly.

[1] AudioReach/audioreach-workflows#38
[2] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-pulseaudio-plugin that referenced this pull request Jun 4, 2026
Align pre-merge build workflows with audioreach-workflows [1].
Refactor CI logic to improve security, reusability, and clarity.
Switch the workflow trigger from pull_request_target to
pull_request to follow standard GitHub Actions practices and
enhance security. Normalize YAML formatting and dependencies [2].

Refactor build and test orchestration by introducing filtering of
test-ready entries from the build matrix using improved jq logic
with JSON validation and support for both object and array formats.
Persist the filtered results to test_matrix.json and upload it as
an artifact for downstream use.

Replace inline LAVA triggering with the trigger_lava_on_success
workflow. Run it after successful builds to retrieve artifacts,
extract build metadata, and trigger LAVA tests using the prepared
filtered matrix.

Add a reusable pre_build script to fetch the SDK from AWS S3 and
move setup logic out of CI. Enable reuse in standalone and local
build environments.

Grant required workflow permissions (checks and pull-requests
write) to enable PR checks and allow the trigger_lava job to
function correctly.

[1] AudioReach/audioreach-workflows#38
[2] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
ffrancis123 added a commit to ffrancis123/audioreach-engine that referenced this pull request Jun 5, 2026
Switch workflow trigger from pull_request_target to
pull_request for safer execution in PR context. [1]

Remove the trigger_lava job and its dependencies to
simplify the workflow and eliminate external test runs.

Update workflow_complete job to reflect the reduced
job graph and drop checks tied to the removed job.

[1] AudioReach/audioreach-workflows#73

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants