scripts/i3-configuration/i3blocks
Copilot 18b9f020bb
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
..
activitywatch_status.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
battery_status.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
bluetooth.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
config feat: shutdown timer display in i3block 2025-12-21 21:01:42 +01:00
cpu_monitor.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
gpu_monitor.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
motherboard_temp.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
network_monitor.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
pc_startup_status.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
shutdown_countdown.sh Fix shell script formatting and add PR workflow validation (#3) 2026-01-07 22:52:20 +01:00
volume.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
warp_status.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00
wifi_monitor.sh fix: shellcheck issues 2025-11-01 15:36:22 +01:00