Skip to content

bugfix(ci): fix bug in GitHub Actions pre-commit workflow#605

Open
ndonyapour wants to merge 1 commit intoPolusAI:masterfrom
ndonyapour:bugfix/git-actions
Open

bugfix(ci): fix bug in GitHub Actions pre-commit workflow#605
ndonyapour wants to merge 1 commit intoPolusAI:masterfrom
ndonyapour:bugfix/git-actions

Conversation

@ndonyapour
Copy link
Copy Markdown
Member

This PR fixes a bug where pre-commit was run with --from-ref/--to-ref, which can fail when SHA refs are unavailable on fork branches without an open PR.

@Nicholas-Schaub
Copy link
Copy Markdown
Contributor

@ndonyapour This looks like it will help fix our problem, but created other problems in the process. The goal of the old version was to only run checks against files changed between two different commits. This would effectively run checks against EVERYTHING.

That is great if everything is up to date, but if it's not it will create a big headache.

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.

2 participants