[build] fix issue trying to guard actions run on forks#16800
[build] fix issue trying to guard actions run on forks#16800titusfortner merged 2 commits intotrunkfrom
Conversation
PR Compliance Guide 🔍(Compliance updated until commit 73a5152)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit a381a7f
|
||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
repository_owner is case sensitive, and is trying to match seleniumhq instead of SeleniumHQ, so it is not protecting forks from running this code
PR Type
Bug fix
Description
Replace case-sensitive
repository_ownercheck with fork detectionUse
github.event.repository.fork == falseacross all workflowsPrevents fork repositories from running protected CI/CD actions
Fixes guard condition in 13 GitHub Actions workflow files
Diagram Walkthrough
File Walkthrough
11 files
Replace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection checkReplace repository_owner with fork detection check