Skip to content

Disable typecheck, link-check, and pre-commit workflows on master#1552

Merged
VojtechStep merged 7 commits intoUniMath:masterfrom
fredrik-bakke:fix-typecheck-draft
Sep 25, 2025
Merged

Disable typecheck, link-check, and pre-commit workflows on master#1552
VojtechStep merged 7 commits intoUniMath:masterfrom
fredrik-bakke:fix-typecheck-draft

Conversation

@fredrik-bakke
Copy link
Copy Markdown
Collaborator

@fredrik-bakke fredrik-bakke commented Sep 24, 2025

The previous change to the typecheck workflow #1493 contained a mistake that made it skip on commits to the master branch, which was unintended. However, I believe that we in fact do not need to run it on master, since it is already tested in the pull request branch, and besides, the benchmarking workflow also verifies that master type checks. Hence, this PR hides the workflow from the workflow agenda on master. It does so by creating a new ci file.

This PR also renames the benchmarking/profiling workflow to "Clean build and profiling of library".

I've still added an inclusion rule so that if we in the future wish to run it on commits to a certain branch we only need to add an "on push" entry and not edit the if clause for typecheck.

@VojtechStep
Copy link
Copy Markdown
Collaborator

Since we require PRs to be up-to-date before merging them, does it even make sense to run precommit and link-check on master? We could have incremental typechecking and style checking in PRs, and then master does a clean build (which typechecks) and deployment (which linkchecks). WDYT?

@fredrik-bakke
Copy link
Copy Markdown
Collaborator Author

Yeah that sounds good! In the past I was thinking of these redundancies as double checks that the workflows were working properly, but in the current state of affairs I agree we can do without them. The problems don't have to be detected on master anyways; if we find an issue later, we've found the issue.

@fredrik-bakke fredrik-bakke changed the title Hide typecheck workflow on master Disable typecheck, link-check, and pre-commit workflows on master Sep 25, 2025
@fredrik-bakke
Copy link
Copy Markdown
Collaborator Author

@VojtechStep updated now

@VojtechStep
Copy link
Copy Markdown
Collaborator

LGTM! (for some reason GitHub decided to delay the ping notification for two hours)

@VojtechStep VojtechStep merged commit a398c6a into UniMath:master Sep 25, 2025
3 checks passed
@fredrik-bakke fredrik-bakke deleted the fix-typecheck-draft branch September 25, 2025 15:01
fredrik-bakke added a commit to fredrik-bakke/agda-unimath that referenced this pull request Oct 17, 2025
…er (UniMath#1552)

The previous change to the `typecheck` workflow UniMath#1493 contained a
mistake that made it skip on commits to the master branch, which was
unintended. However, I believe that we in fact do not need to run it on
master, since it is already tested in the pull request branch, and
besides, the benchmarking workflow also verifies that master type
checks. Hence, this PR hides the workflow from the workflow agenda on
master. It does so by creating a new ci file.

This PR also renames the benchmarking/profiling workflow to "Clean build
and profiling of library".

I've still added an inclusion rule so that if we in the future wish to
run it on commits to a certain branch we only need to add an "on push"
entry and not edit the if clause for `typecheck`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants