-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: reset existing repo to known state
If at some point a PR accidentally deletes a git submodule without deleting it from .gitmodules, subsequent PRs using the same runner will fail because the checkout action will try to run `git submodule foreach ...` before updating the git repo to match the current PR and fail, we can avoid the problem by always resetting to origin/master which hopefully is always in a good state. Ideally the checkout action would be more robust: actions/checkout#354
- Loading branch information
Showing
1 changed file
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters