Skip to content

ci: use --ignore-scripts wherever possible#3121

Merged
maryliag merged 1 commit intoopen-telemetry:mainfrom
dynatrace-oss-contrib:chore/ignore-scripts
Sep 29, 2025
Merged

ci: use --ignore-scripts wherever possible#3121
maryliag merged 1 commit intoopen-telemetry:mainfrom
dynatrace-oss-contrib:chore/ignore-scripts

Conversation

@pichlermarc
Copy link
Copy Markdown
Member

@pichlermarc pichlermarc commented Sep 29, 2025

Which problem is this PR solving?

I have checked some postinstall scripts, but they seem to mostly be for for warning users of improper usage and can therefore be safely ignored in CI. Ignoring the scripts also reduces attack surface a bit further.

@pichlermarc pichlermarc marked this pull request as ready for review September 29, 2025 11:49
@pichlermarc pichlermarc requested a review from a team as a code owner September 29, 2025 11:49
@maryliag maryliag merged commit e612aa1 into open-telemetry:main Sep 29, 2025
18 checks passed
@pichlermarc pichlermarc deleted the chore/ignore-scripts branch September 29, 2025 14:31
@pichlermarc
Copy link
Copy Markdown
Member Author

Follow-up: #3122 - looks like knex actually needs scripts to generate bindings on install. That does only affect runtime behavior though, so I allowed scripts for the test run only.

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