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

Refactor use_tidy_github_actions() #1751

Merged
merged 1 commit into from
Jan 25, 2023
Merged

Conversation

hadley
Copy link
Member

@hadley hadley commented Jan 24, 2023

No description provided.

@hadley hadley requested a review from jennybc January 24, 2023 22:12
@@ -240,7 +233,7 @@ use_tidy_github_actions <- function(ref = NULL) {
}
}

invisible(full_status && pr_status && pkgdown_status && test_coverage_status)
Copy link
Member Author

Choose a reason for hiding this comment

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

We spent a lot of code collecting information that's never used anywhere. I think code is clearer without it.

use_github_actions_badge("R-CMD-check.yaml", repo_spec = repo_spec)

pr_status <- use_github_action_pr_commands(ref = ref)
Copy link
Member Author

Choose a reason for hiding this comment

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

Came here specifically to fix this line because it's now deprecated.

@hadley hadley merged commit 275dc55 into main Jan 25, 2023
@hadley hadley deleted the use-tidy-github-actions-tidy branch January 25, 2023 14:23
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