Skip to content

[TASK] Identify and remove obsolete workflows - #224

Open
RamakrishnanPK wants to merge 2 commits into
eclipse-score:mainfrom
bgsw-contrib:cleanup-obsolete-workflow-dev
Open

[TASK] Identify and remove obsolete workflows#224
RamakrishnanPK wants to merge 2 commits into
eclipse-score:mainfrom
bgsw-contrib:cleanup-obsolete-workflow-dev

Conversation

@RamakrishnanPK

Copy link
Copy Markdown

Fixes #218

@AlexanderLanin

Copy link
Copy Markdown
Member

@RamakrishnanPK there is a conflict unfortunately which only you can resolve since its a protected branch

@pawelrutkaq

Copy link
Copy Markdown
Contributor

@PiotrKorkus

@pawelrutkaq

Copy link
Copy Markdown
Contributor

did we submit prs to all consumers off thos workflows in score that are not pinned to stable sha?

@AlexanderLanin

Copy link
Copy Markdown
Member

Yeah, months ago

@MaximilianSoerenPollak MaximilianSoerenPollak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am not quiet sure where you found that these workflows are obsolete.
They are still being used by repositories.

The template-sync one and the score-pr-checks might be able to be deleted but require further questioning to infrastructure slack channel or mcp_server maintainers.


Edit:

I just saw the issue that this is suppose to fix.
So then this vital piece of information is missing here as well. Is the old check covered by the new on-pr and if so with what mechanism?
Cause if we now for example force repos to have pre-commit I'm unsure if this will be very popular or accepted and they most likely will want to hold on to the old ones.

@@ -1,131 +0,0 @@
# *******************************************************************************

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Potentially can ignore this if it's covered by the new on-pr check, if so please comment where this is the case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's covered:

Check Runs when Command
pre-commit .pre-commit-config.yaml exists uvx pre-commit run --all-files
Python tests pyproject.toml and uv.lock exist uv run --frozen python -m pytest
Bazel format //:format.check target exists bazel test //:format.check
Bazel copyright //:copyright.check target exists bazel run //:copyright.check
Bzlmod tidy MODULE.bazel.lock exists bazel mod tidy + git diff --exit-code
Bzlmod lockfile MODULE.bazel.lock exists bazel mod deps --lockfile_mode=error

from https://github.com/eclipse-score/cicd-workflows/blob/main/.github/workflows/on-pr.md

However several repos run @main 😢

@@ -1,50 +0,0 @@
# *******************************************************************************

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Potentially can ignore this if it's covered by the new on-pr check, if so please comment where this is the case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Check Runs when Command
pre-commit .pre-commit-config.yaml exists uvx pre-commit run --all-files
Python tests pyproject.toml and uv.lock exist uv run --frozen python -m pytest
Bazel format //:format.check target exists bazel test //:format.check
Bazel copyright //:copyright.check target exists bazel run //:copyright.check
Bzlmod tidy MODULE.bazel.lock exists bazel mod tidy + git diff --exit-code
Bzlmod lockfile MODULE.bazel.lock exists bazel mod deps --lockfile_mode=error

from https://github.com/eclipse-score/cicd-workflows/blob/main/.github/workflows/on-pr.md

However several repos run @main 😢

@@ -1,74 +0,0 @@
# *******************************************************************************

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Potentially can ignore this if it's covered by the new on-pr check, if so please comment where this is the case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we need to re-ealuate the purpose of docs-verify 😭

@@ -1,51 +0,0 @@
# *******************************************************************************

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Potentially can ignore this if it's covered by the new on-pr check, if so please comment where this is the case.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Check Runs when Command
pre-commit .pre-commit-config.yaml exists uvx pre-commit run --all-files
Python tests pyproject.toml and uv.lock exist uv run --frozen python -m pytest
Bazel format //:format.check target exists bazel test //:format.check
Bazel copyright //:copyright.check target exists bazel run //:copyright.check
Bzlmod tidy MODULE.bazel.lock exists bazel mod tidy + git diff --exit-code
Bzlmod lockfile MODULE.bazel.lock exists bazel mod deps --lockfile_mode=error

from https://github.com/eclipse-score/cicd-workflows/blob/main/.github/workflows/on-pr.md

However several repos run @main 😢

Comment thread .github/workflows/score-pr-checks.yml
Comment thread .github/workflows/template-sync.yml
@AlexanderLanin

Copy link
Copy Markdown
Member

I'm afraid we need to revisit this PR after eclipse-score/tools#31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: in review

Development

Successfully merging this pull request may close these issues.

identify and remove obsolete workflows

4 participants