Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to formatting bot #5421

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

expipiplus1
Copy link
Collaborator

It now opens a PR against the target branch, rather than committing directly. this means we can give the bot far fewer permissions.

Also, it formats using the script in the destination branch, which by virtue of the actions being hosted in this repository is something we've signed off on, so we should be less concerned with the bot executing arbitrary code from a PR. The disadvantage of this is that one can't change external/formatting.sh and also call /format to apply these changes in the same pr

@expipiplus1 expipiplus1 added the pr: non-breaking PRs without breaking changes label Oct 28, 2024
@expipiplus1 expipiplus1 added this to the Q1 2025 (Winter) milestone Oct 28, 2024
Copy link
Collaborator

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

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

Looks good to me

@expipiplus1 expipiplus1 merged commit a1032dd into shader-slang:master Oct 29, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants