Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(
nolints.yml
): correct the main step of the update-nolints
wor…
…kflow (#13343) This fixes the main step of the `update_nolints` workflow. As I see it, this was quite impressive: about three bugs in four lines of code. - updating `nolints.json` now works using the `update` option: no need to run the linter and move some file (presumably, that file wouldn't exist either) - running `git diff` right after generating the exceptions didn't work: no git repository was configured yet - wrapping things in `problem-matcher-wrap` was a bad idea, as that only supports one command: instead, we remove the matcher, as we don't need this here Since this workflow was originally cargo-culted from the mathlib one, I view this also as a cautionary tale about cargo cult programming.
- Loading branch information