Go to file
Copilot faff8ba349 Fix shell script formatting and add PR workflow validation (#3)
* Initial plan

* fix: format shell scripts with shfmt (convert tabs to 2 spaces)

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* feat: enhance shell-check workflow for PR pre-merge validation

- Add pull_request_target trigger to check PRs from forks
- Add explicit failure message with instructions
- Create BRANCH_PROTECTION.md with setup guide
- Ensure workflow runs on all PRs targeting main/master

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* refactor: improve workflow security and remove redundant exit code

- Remove pull_request_target to avoid executing untrusted fork code
- Remove redundant exit 1 from failure step
- Update documentation to reflect changes
- Standard pull_request trigger handles forks securely

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-07 22:52:20 +01:00
.githooks chore: update jscpd settings to min 14 lines and ignore txt files 2025-12-11 18:46:05 +01:00
.github Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
fresh-install Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
hosts Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
i3-configuration Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
report refactor: reduce code duplication from 1.97% to 0.76% 2025-12-11 18:32:15 +01:00
scripts Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
.gitignore feat: sick mode 2026-01-07 17:03:07 +01:00