Skip to content

Conversation

smuppand
Copy link
Contributor

This PR includes the following changes:

  1. Workflow Fix for Permission Enforcement
  • Replaces pull_request_target with pull_request to correctly inspect PR changes before merge.
  • Adds paths filters to limit execution to changes in .sh and run.sh files.
  • Improves script output with clear error annotations and per-file messages.
  • Adds an optional check to warn about non-shell files with executable bits.
  • Adds a job name to improve visibility in GitHub Actions UI.
  1. Fix Executable Permission on gpdsp Test
  • Restores +x permission on the gpdsp test script to ensure it runs as expected in CI and LAVA environments.

- Fixed GitHub Actions workflow to run permission checks on actual PR code using `pull_request` instead of `pull_request_target`
- Added `paths` filters to trigger only on relevant `.sh` files
- Improved error and warning output with GitHub annotations for missing +x
- Added optional check for non-shell files with executable bit
- Named the job for clarity in UI

Also:
- Restored executable permissions (+x) on gpdsp test script to ensure it runs correctly in CI and LAVA

Signed-off-by: Srikanth Muppandam <[email protected]>
@smuppand smuppand requested a review from vnarapar July 28, 2025 05:32
Copy link
Contributor

@vnarapar vnarapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vnarapar
Copy link
Contributor

ignoring the permission checker as it is known issue

@vnarapar vnarapar merged commit 00126f1 into qualcomm-linux:main Jul 28, 2025
7 of 8 checks passed
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