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

[20648] Only run PRs CI when run-ci label is added #4599

Merged
merged 6 commits into from
Mar 25, 2024

Conversation

EduPonz
Copy link

@EduPonz EduPonz commented Mar 22, 2024

Description

This PR changes the way Github CI is managed. From now on, to run CI, a reivew needs to be requested on the PR. Once the CI starts, the ci-pending label is added.

@Mergifyio backport 2.13.x 2.10.x 2.6.x

This PR depends on:

Contributor Checklist

  • Commit messages follow the project guidelines.
  • N/A: The code follows the style guidelines of this project.
  • N/A: Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • N/A: Any new/modified methods have been properly documented using Doxygen.
  • N/A: Changes are ABI compatible.
  • N/A: Changes are API compatible.
  • N/A: New feature has been added to the versions.md file (if applicable).
  • N/A: New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@EduPonz EduPonz added this to the v2.14.1 milestone Mar 22, 2024
@EduPonz EduPonz added the run-ci label Mar 22, 2024
@github-actions github-actions bot removed the run-ci label Mar 22, 2024
@EduPonz EduPonz added the run-ci label Mar 22, 2024
@github-actions github-actions bot added ci-pending PR which CI is running and removed run-ci ci-pending PR which CI is running labels Mar 22, 2024
@EduPonz EduPonz added the run-ci label Mar 22, 2024
@github-actions github-actions bot removed run-ci ci-pending PR which CI is running labels Mar 22, 2024
@EduPonz EduPonz added the run-ci label Mar 22, 2024
@github-actions github-actions bot added ci-pending PR which CI is running and removed run-ci labels Mar 22, 2024
JesusPoderoso
JesusPoderoso previously approved these changes Mar 22, 2024
Copy link
Contributor

@JesusPoderoso JesusPoderoso left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@EduPonz EduPonz added run-ci and removed ci-pending PR which CI is running labels Mar 22, 2024
@github-actions github-actions bot added ci-pending PR which CI is running and removed run-ci labels Mar 22, 2024
JesusPoderoso
JesusPoderoso previously approved these changes Mar 22, 2024
@JesusPoderoso
Copy link
Contributor

@Mergifyio backport 2.13.x 2.10.x 2.6.x

Copy link
Contributor

mergify bot commented Mar 22, 2024

backport 2.13.x 2.10.x 2.6.x

✅ Backports have been created

@JesusPoderoso JesusPoderoso added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. and removed ci-pending PR which CI is running labels Mar 22, 2024
@JesusPoderoso JesusPoderoso self-requested a review March 25, 2024 09:59
@github-actions github-actions bot added the ci-pending PR which CI is running label Mar 25, 2024
@JesusPoderoso JesusPoderoso removed the ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. label Mar 25, 2024
Copy link
Contributor

@JesusPoderoso JesusPoderoso left a comment

Choose a reason for hiding this comment

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

LGTM

@EduPonz EduPonz added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. and removed ci-pending PR which CI is running labels Mar 25, 2024
@EduPonz
Copy link
Author

EduPonz commented Mar 25, 2024

Last commit only changed the trigger, which @JesusPoderoso tested. Since CI had run on the previous commit, I've cancelled CI and I'm merging this.

@EduPonz EduPonz merged commit d0a334b into master Mar 25, 2024
3 of 11 checks passed
@EduPonz EduPonz deleted the ci/github_ubuntu_ci_prs branch March 25, 2024 10:08
mergify bot pushed a commit that referenced this pull request Mar 25, 2024
* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/documentation-tests.yaml
#	.github/workflows/mac-ci.yml
#	.github/workflows/thread-sanitizer.yaml
#	.github/workflows/ubuntu-ci.yml
#	.github/workflows/windows-ci.yml
mergify bot pushed a commit that referenced this pull request Mar 25, 2024
* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/documentation-tests.yaml
#	.github/workflows/mac-ci.yml
#	.github/workflows/thread-sanitizer.yaml
#	.github/workflows/ubuntu-ci.yml
#	.github/workflows/windows-ci.yml
EduPonz added a commit that referenced this pull request Mar 25, 2024
* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
mergify bot pushed a commit that referenced this pull request Mar 25, 2024
* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/documentation-tests.yaml
#	.github/workflows/mac-ci.yml
#	.github/workflows/thread-sanitizer.yaml
#	.github/workflows/ubuntu-ci.yml
#	.github/workflows/windows-ci.yml
EduPonz added a commit that referenced this pull request Mar 28, 2024
* Only run PRs CI when run-ci label is added (#4599)

* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/documentation-tests.yaml
#	.github/workflows/mac-ci.yml
#	.github/workflows/thread-sanitizer.yaml
#	.github/workflows/ubuntu-ci.yml
#	.github/workflows/windows-ci.yml

* Fix conflicts

Signed-off-by: JesusPoderoso <[email protected]>

---------

Signed-off-by: JesusPoderoso <[email protected]>
Co-authored-by: Eduardo Ponz Segrelles <[email protected]>
Co-authored-by: JesusPoderoso <[email protected]>
EduPonz added a commit that referenced this pull request Apr 1, 2024
* Only run PRs CI when run-ci label is added (#4599)

* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)

# Conflicts:
#	.github/workflows/address-sanitizers.yaml
#	.github/workflows/documentation-tests.yaml
#	.github/workflows/mac-ci.yml
#	.github/workflows/thread-sanitizer.yaml
#	.github/workflows/ubuntu-ci.yml
#	.github/workflows/windows-ci.yml

* Fix conflicts

Signed-off-by: JesusPoderoso <[email protected]>

---------

Signed-off-by: JesusPoderoso <[email protected]>
Co-authored-by: Eduardo Ponz Segrelles <[email protected]>
Co-authored-by: JesusPoderoso <[email protected]>
EduPonz added a commit that referenced this pull request Apr 5, 2024
* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)
MiguelCompany pushed a commit that referenced this pull request Apr 5, 2024
* Refs #20648: Only run PRs CI when run-ci label is added

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Correctly add ci-pending label

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Fix documentation trigger

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Add ci-pending label in mac CI

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Set eProsima-CI version to v0 on add and remove labels actions

Signed-off-by: EduPonz <[email protected]>

* Refs #20648: Change Github workflows trigger to 'review_requested'

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit d0a334b)

Co-authored-by: Eduardo Ponz Segrelles <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants