Skip to content

Conversation

@stefan-mysten
Copy link
Contributor

Description

This PR adds a script to check for various issues (e.g., merge commits in PRs, insensitive folder names, etc).

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@stefan-mysten stefan-mysten requested a review from bmwill December 10, 2025 07:43
@stefan-mysten stefan-mysten temporarily deployed to sui-typescript-aws-kms-test-env December 10, 2025 07:43 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Dec 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sui-docs Ready Ready Preview Comment Dec 11, 2025 11:05pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Preview Dec 11, 2025 11:05pm
sui-kiosk Ignored Ignored Preview Dec 11, 2025 11:05pm

Comment on lines 75 to 82
git-checks:
name: git-checks
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
ref: ${{ github.event.inputs.sui_repo_ref || github.ref }}
- run: ./scripts/git-checks.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this job and just add the git-checks.sh call to the existing lint job as an additional step

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just so that we're on the same page, I am slightly confused about which lint job you're referring to. You mean the license-check that runs cargo xlint?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah that would work

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment on lines 66 to 67
license-check:
name: license-check
lints:
name: lints-check
Copy link
Contributor

Choose a reason for hiding this comment

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

You can't change the name of this job without a bunch of github setting issues as well as forcing the whole company to rebase their PRs to force trigger ci running again so lets not change the job name for now :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh, I did not know that. Interesting.

Copy link
Contributor

@bmwill bmwill left a comment

Choose a reason for hiding this comment

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

One more fix needed then we can land this

@stefan-mysten stefan-mysten temporarily deployed to sui-typescript-aws-kms-test-env December 11, 2025 23:00 — with GitHub Actions Inactive
@stefan-mysten stefan-mysten merged commit 6aea137 into MystenLabs:main Dec 11, 2025
52 of 53 checks passed
@stefan-mysten stefan-mysten deleted the add-git-checks-to-ci branch December 11, 2025 23:31
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