Skip to content

Normalize the S3 location prefix before building artifact paths and Harden aws-s3-exchanger shell execution and file handling - #77

Merged
ffrancis123 merged 2 commits into
AudioReach:masterfrom
ffrancis123:s3
Jul 31, 2026
Merged

ffrancis123 merged 2 commits into
AudioReach:masterfrom
ffrancis123:s3

Conversation

@ffrancis123

@ffrancis123 ffrancis123 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Commits included:
Normalize the S3 location prefix before building artifact paths
Harden aws-s3-exchanger shell execution and file handling

@ffrancis123
ffrancis123 requested review from a team July 30, 2026 10:13
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
Comment thread .github/actions/aws-s3-exchanger/action.yml Fixed
svutukur20
svutukur20 previously approved these changes Jul 30, 2026
Append a trailing slash only when the location input is provided.
Reuse the normalized prefix for upload, download, and presign
operations.
Prevent creation of empty S3 path segments when location is unset.

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
svutukur20
svutukur20 previously approved these changes Jul 30, 2026
@ffrancis123
ffrancis123 force-pushed the s3 branch 3 times, most recently from 9bc71ad to dc2cfaa Compare July 31, 2026 09:21
@ffrancis123 ffrancis123 changed the title Normalize the S3 location prefix before building artifact paths Normalize the S3 location prefix before building artifact paths and Harden aws-s3-exchanger shell execution and file handling Jul 31, 2026
@ffrancis123
ffrancis123 force-pushed the s3 branch 2 times, most recently from b4ddaf2 to 21a6972 Compare July 31, 2026 10:02
Move GitHub expressions out of shell blocks and consume
inputs through environment variables.
Normalize location prefixes, enable strict shell mode,
create URL artifact directories, and apply safer file
permissions while preserving SDK script executability.

Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
@ffrancis123
ffrancis123 merged commit 6285ca7 into AudioReach:master Jul 31, 2026
11 of 16 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.

3 participants