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

Issue #14852: Fix performance test #14855

Merged
merged 1 commit into from May 11, 2024

Conversation

Lmh-java
Copy link
Contributor

@Lmh-java Lmh-java commented May 3, 2024

Fix for #14852.

@Lmh-java Lmh-java force-pushed the minghao/ci-patch branch 2 times, most recently from deff6e0 to a67f770 Compare May 3, 2024 22:23
Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

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

Items

.github/workflows/check-performance-regression.yml Outdated Show resolved Hide resolved
@Lmh-java
Copy link
Contributor Author

Lmh-java commented May 3, 2024

@romani, please take a look.

https://github.com/checkstyle/checkstyle/actions/runs/8945787669/job/24575339430?pr=14855

The failing CI is because the associated issue is not approved.

@Lmh-java Lmh-java marked this pull request as ready for review May 3, 2024 23:12
Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

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

Last minor:

.github/workflows/check-performance-regression.yml Outdated Show resolved Hide resolved
@romani
Copy link
Member

romani commented May 4, 2024

Please remove this commit created by me from web UI, it was mistake.

@Lmh-java
Copy link
Contributor Author

Lmh-java commented May 4, 2024

Please remove this commit created by me from web UI, it was mistake.

Done

@Lmh-java Lmh-java requested a review from romani May 4, 2024 20:43
Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

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

Ok to merge

Copy link
Member

@nrmancuso nrmancuso left a comment

Choose a reason for hiding this comment

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

Item:

Comment on lines 33 to 36
- name: Checkout Pull Request Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Copy link
Member

Choose a reason for hiding this comment

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

@Lmh-java why do we need anything more than this:

Suggested change
- name: Checkout Pull Request Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: checkout repo
uses: actions/checkout@v4

?

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 see, didn't realize that the action checkout the pull request by default.
as shown in https://github.com/actions/checkout.

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

Copy link
Member

Choose a reason for hiding this comment

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

@Lmh-java I think we can assume that most modern CI will run on the reference it was triggered from unless otherwise specified.

@nrmancuso nrmancuso merged commit 6d64b16 into checkstyle:master May 11, 2024
115 checks passed
@nrmancuso nrmancuso mentioned this pull request May 11, 2024
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.

None yet

3 participants