Skip to content

CI: Add a comment if a PR touches sysvars #136

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

joncinque
Copy link
Collaborator

@joncinque joncinque commented Apr 11, 2025

Problem

As noted at
anza-xyz/agave#428 (comment), it's possible to update the Rust client and forget to update the JS client.

Summary of changes

Copy the solution at https://github.com/orgs/community/discussions/69944#discussioncomment-10796276, but adapt it to our needs.

NOTE: I'll try updating some paths to see if this works. Testing failed, oh well

#### Problem

As noted at
anza-xyz/agave#428 (comment), it's
possible to update the Rust client and forget to update the JS client.

#### Summary of changes

Copy the solution at https://github.com/orgs/community/discussions/69944#discussioncomment-10796276,
but adapt it to our needs.

NOTE: I'll try updating some paths to see if this works.
@joncinque joncinque closed this Apr 11, 2025
@joncinque joncinque reopened this Apr 11, 2025
@joncinque
Copy link
Collaborator Author

Taking a look at https://github.com/marketplace/actions/comment-pull-request#permissions, I don't think I'll be able to properly test this, but I think the perms will be correct once we land this. I can open a test PR after this

steveluscher
steveluscher previously approved these changes Apr 11, 2025
Copy link
Contributor

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

I think that synchronized is the event type that you're looking for to test whether this puppy runs on updates, but meh; it probably works.

Thanks!

@steveluscher
Copy link
Contributor

But yeah also, forks.

@joncinque
Copy link
Collaborator Author

I think that synchronized is the event type that you're looking for to test whether this puppy runs on updates, but meh; it probably works.

Oh yeah, good call, updated to add synchronize, thanks

@joncinque joncinque requested a review from steveluscher April 22, 2025 17:42
Copy link
Contributor

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

image

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