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

Remove pre-commit GitHub Action from our CI/CQ #14717

Merged

Conversation

ogajduse
Copy link
Member

Problem Statement

pre-commit.ci is enabled for robottelo repository, the GH Action that runs pre-commit is now redundant.

Solution

Remove the pre-commit GitHub Action from our CI/CQ workflow. Also disable PR autofix if pre-commit auto fixes files.

@ogajduse ogajduse added 6.11.z Introduced in or relating directly to Satellite 6.11 CherryPick PR needs CherryPick to previous branches 6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 labels Apr 10, 2024
@ogajduse ogajduse self-assigned this Apr 10, 2024
@ogajduse ogajduse requested a review from a team as a code owner April 10, 2024 12:01
@Gauravtalreja1 Gauravtalreja1 removed the 6.11.z Introduced in or relating directly to Satellite 6.11 label Apr 10, 2024
@Gauravtalreja1 Gauravtalreja1 merged commit 4f5c857 into SatelliteQE:master Apr 10, 2024
14 checks passed
ogajduse added a commit to ogajduse/robottelo that referenced this pull request Apr 10, 2024
ogajduse added a commit to ogajduse/robottelo that referenced this pull request Apr 10, 2024
ogajduse added a commit to ogajduse/robottelo that referenced this pull request Apr 10, 2024
ogajduse added a commit to ogajduse/robottelo that referenced this pull request Apr 10, 2024
Gauravtalreja1 pushed a commit that referenced this pull request Apr 10, 2024
)

Remove pre-commit GitHub Action from our CI/CQ (#14717)

(cherry picked from commit 4f5c857)
Gauravtalreja1 pushed a commit that referenced this pull request Apr 10, 2024
)

Remove pre-commit GitHub Action from our CI/CQ (#14717)

(cherry picked from commit 4f5c857)
Gauravtalreja1 pushed a commit that referenced this pull request Apr 10, 2024
)

Remove pre-commit GitHub Action from our CI/CQ (#14717)

(cherry picked from commit 4f5c857)
Gauravtalreja1 pushed a commit that referenced this pull request Apr 10, 2024
)

Remove pre-commit GitHub Action from our CI/CQ (#14717)

(cherry picked from commit 4f5c857)
@jyejare
Copy link
Member

jyejare commented Apr 10, 2024

@ogajduse I wonder we are removing pre-commit checks from pull request checks. Does pre-commit-ci suppose to ammend the commit to the PR for pre-commit auto-fixes ?

@ogajduse
Copy link
Member Author

@ogajduse I wonder we are removing pre-commit checks from pull request checks. Does pre-commit-ci suppose to ammend the commit to the PR for pre-commit auto-fixes ?

It creates an extra commit. See the image of git commit tree visualization in the auto fixing pull requests section on the page that I linked in the PR description.

@ogajduse ogajduse deleted the feat/remove-pre-commit-gh-action branch April 11, 2024 17:59
jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants