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

Revert "Improve error handling for missing dependency versions for github actions" #11289

Conversation

thavaahariharangit
Copy link
Contributor

@thavaahariharangit thavaahariharangit commented Jan 13, 2025

Reverts #11144

Temporarily reverting as this causing more issues than it solves.

@thavaahariharangit thavaahariharangit requested a review from a team as a code owner January 13, 2025 15:47
@github-actions github-actions bot added the L: github:actions GitHub Actions label Jan 13, 2025
@@ -30,12 +30,6 @@ def parse
dependency_set += workfile_file_dependencies(file)
end

dependencies_without_version = dependency_set.dependencies.select { |dep| dep.version.nil? }
unless dependencies_without_version.empty?
raise UnresolvableVersionError,
Copy link
Member

Choose a reason for hiding this comment

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

I think this is the only portion to be reverted but for clarity and simplicity; feel free to go ahead.

@thavaahariharangit thavaahariharangit merged commit daccb39 into main Jan 13, 2025
148 checks passed
@thavaahariharangit thavaahariharangit deleted the revert-11144-robaiken/show-warning-if-no-version-found branch January 13, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: github:actions GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants