-
### Description
PowerShell 7.2 now requires scripts to have a `ps1` extension. Gitea's autogenerated git hooks do not have this, and fail to run.
https://github.com/PowerShell/PowerShell/pull/15…
-
Here I would like to collect information for onboarding new developers.
- PEP8
- ruff
- git-hook
- git merge policy
- pytest
## PEP8
https://peps.python.org/pep-0008/
## ruff
De…
-
Investigate adding git pre-commit hooks that can ensure some level of validations before a PR can be opened. Possible checks could be
- Linting passes
- Link validity checking
- CredScan doesn't fail…
-
I regularly get this error with the pre-commit clang format hook
```bash
don't commit to branch...................................................Passed
Run git-clang-format......................…
-
Add script to check mono repo packages individually if there is code file change, it must also include a change log update else don't allow to push commit.
- Create script for above
- use Git pre-c…
-
### Feature request
The current code looks to determine if it's a git hook from the calling process name, however if you already have a git hook and want to chain them together (for example, prepend…
-
### Description
This issue is similar to #19810 and #23765.
Whenever I try to create a PR from a branch **on the same repository** ("merge into repo:main / pull from repo:branch"), I receive the…
-
### Description of the bug
If `core.hooksPath` is a relative path, `git branchless init` always resolves it relative to the directory in which it was invoked, not relative to the root of the repo lik…
-
### Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)
- [X] Search the ex…
-
We should have this in Nixpkgs for https://github.com/NixOS/nixpkgs/pull/326407. Here are some notes for that:
- For every push/commit, it should verify that changed and new files are formatted
…