Files
mcp-ssh-orchestrator/.github
Sammy Farida f6fd6c53bc Fix/workflow docs only prs (#24)
* docs: Add path traversal protection documentation for PR1 & PR2

Document security enhancements from PR1 and PR2:

- Add comprehensive path traversal protection section to SECURITY.md
  * Secret path protection details
  * SSH key path protection details
  * Security event logging examples

- Document secret name validation in credentials.yml.md
  * Allowed characters (alphanumeric, dash, underscore)
  * Path resolution security measures
  * Examples of valid/invalid secret names

- Add key path validation section to credentials.yml.md
  * Relative and absolute path validation rules
  * Traversal pattern detection
  * Examples of valid/invalid key paths

- Update Configuration.md with path traversal protection overview
  * Secret path security
  * SSH key path security
  * Security event logging

This documentation accompanies the security fixes in PR1 and PR2.

* fix: Allow lint and build workflows to run on documentation-only PRs

Previously, lint.yml and build.yml workflows used paths filters that
prevented them from running on documentation-only PRs. Since these
workflows are marked as Required in branch protection, they would show
as 'Expected - Waiting for status to be reported' and block merges.

Solution:
- Remove paths filter from pull_request trigger (keeps paths for push)
- Add check-changes job using dorny/paths-filter to detect code changes
- Make all lint/build/test jobs conditional - skip when only docs change
- Add skip-docs-only job that always succeeds when no code changes

This ensures:
- Workflows always run (satisfies required checks)
- Jobs skip gracefully when only documentation changed
- Code changes still trigger full lint/build/test pipeline

Fixes issue with PR #23 where workflows didn't run.
2025-11-02 09:27:32 -05:00
..