Skip to content

Fix validation workflow - #3061

Open
Caranell wants to merge 1 commit into
DefiLlama:mainfrom
Caranell:fix-workflow
Open

Fix validation workflow#3061
Caranell wants to merge 1 commit into
DefiLlama:mainfrom
Caranell:fix-workflow

Conversation

@Caranell

Copy link
Copy Markdown
Contributor

Currently, the validation workflow fails to correctly compare changed files because both the checkout and target are set to main. This results in false-positive test passes and allows PRs with invalid syntax to make it into the main branch.

This change fixes the comparison and makes the test fail when there’s an issue, but removes the comment since we’re now executing untrusted PR code. Running both steps in the same workflow could potentially introduce security risks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant