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

CI: don't run lint-and-test on gh-pages PRs #386

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

mitchnielsen
Copy link
Contributor

Ensures that lint-and-test actions are only included when the PR target is 'main', which will avoid the problem where these tests try to run on PRs targeting 'gh-pages' where these CI files don't exist.

Example: https://github.com/PrefectHQ/prefect-helm/pull/385/checks

Related to https://linear.app/prefect/issue/PLA-277/cycle-1-catch-all-issue

Ensures that lint-and-test actions are only included when the PR target
is 'main', which will avoid the problem where these tests try to run on
PRs targeting 'gh-pages' where these CI files don't exist.

Example: https://github.com/PrefectHQ/prefect-helm/pull/385/checks

Related to https://linear.app/prefect/issue/PLA-277/cycle-1-catch-all-issue
@mitchnielsen mitchnielsen self-assigned this Sep 12, 2024
@mitchnielsen mitchnielsen requested a review from a team as a code owner September 12, 2024 19:53
@mitchnielsen mitchnielsen merged commit 55e283f into main Sep 12, 2024
5 checks passed
@mitchnielsen mitchnielsen deleted the ci-fix-pages-prs branch September 12, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants