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 (backport #4599) #4614

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 25, 2024

Description

This PR changes the way Github CI is managed. From now on, to run CI, a label run-ci needs to be added to the PR. Once the CI starts, that label is removed and ci-pending one 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.

This is an automatic backport of pull request #4599 done by [Mergify](https://mergify.com).

@mergify mergify bot added the conflicts Backport PR wich git cherry pick failed label Mar 25, 2024
Copy link
Contributor Author

mergify bot commented Mar 25, 2024

Cherry-pick of d0a334b has failed:

On branch mergify/bp/2.10.x/pr-4599
Your branch is up to date with 'origin/2.10.x'.

You are currently cherry-picking commit d0a334b11.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   .github/workflows/reusable-mac-ci.yml
	modified:   .github/workflows/reusable-ubuntu-ci.yml
	modified:   .github/workflows/reusable-windows-ci.yml

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .github/workflows/address-sanitizers.yaml
	both modified:   .github/workflows/documentation-tests.yaml
	both modified:   .github/workflows/mac-ci.yml
	both modified:   .github/workflows/thread-sanitizer.yaml
	both modified:   .github/workflows/ubuntu-ci.yml
	both modified:   .github/workflows/windows-ci.yml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@JesusPoderoso JesusPoderoso added this to the v2.10.4 milestone Mar 25, 2024
@JesusPoderoso JesusPoderoso removed the conflicts Backport PR wich git cherry pick failed label Mar 25, 2024
@github-actions github-actions bot added the ci-pending PR which CI is running label Mar 25, 2024
@JesusPoderoso JesusPoderoso added skip-ci Automatically pass CI and removed ci-pending PR which CI is running labels Mar 25, 2024
@JesusPoderoso JesusPoderoso self-requested a review March 25, 2024 10:17
@MiguelCompany MiguelCompany added the conflicts Backport PR wich git cherry pick failed label Apr 4, 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 MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany and JesusPoderoso April 5, 2024 09:39
@MiguelCompany MiguelCompany removed the conflicts Backport PR wich git cherry pick failed label Apr 5, 2024
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany April 5, 2024 09:41
@MiguelCompany MiguelCompany added no-test Skip CI tests if PR marked with this label and removed skip-ci Automatically pass CI labels Apr 5, 2024
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany April 5, 2024 09:42
@github-actions github-actions bot added the ci-pending PR which CI is running label Apr 5, 2024
@MiguelCompany MiguelCompany merged commit b24a381 into 2.10.x Apr 5, 2024
25 checks passed
@MiguelCompany MiguelCompany deleted the mergify/bp/2.10.x/pr-4599 branch April 5, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-pending PR which CI is running no-test Skip CI tests if PR marked with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants