testsAndMisc/scripts/misc/testsAndMisc-bash
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
..
.vscode Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00
tools feat: more descriptive transbtion installation 2025-12-20 21:49:52 +01:00
.gitignore Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00
clean_audio.sh chore: fix shell check issues 2025-11-06 19:39:04 +01:00
compress_images.sh Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00
convert.sh chore: fix shell check issues 2025-11-06 19:39:04 +01:00
copyFolder.sh chore: fix shell check issues 2025-11-06 19:39:04 +01:00
download.sh chore: fix shell check issues 2025-11-06 19:39:04 +01:00
fix_thorium_unity.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
fix_unity.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
generate_subfolders.sh chore: fix shell check issues 2025-11-06 19:39:04 +01:00
get_rnnoise_model.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
install_ffmpeg_with_arnndn.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
install_unity_mcp.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
libre_translate.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
mcp_readme.md Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00
process_table.sh chore: fix shell check issues 2025-11-06 19:39:04 +01:00
README_clean_audio.md Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00
test_fw.srt Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00
transcribe.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
upgrade.sh Import testsAndMisc/Bash as subtree (preserve history) 2025-11-01 16:27:05 +01:00