mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-17 19:48:49 +00:00
chore: add tests, update docs and actions (#299)
* docs: update documentation * feat: validate-inputs has it's own pyproject * security: mask DOCKERHUB_PASSWORD * chore: add tokens, checkout, recrete docs, integration tests * fix: add `statuses: write` permission to pr-lint
This commit is contained in:
@@ -200,10 +200,10 @@ class CustomValidator(BaseValidator):
|
||||
return False
|
||||
return True
|
||||
|
||||
def get_validation_rules(self) -> dict:
|
||||
"""Get validation rules."""
|
||||
rules_path = Path(__file__).parent / "rules.yml"
|
||||
return self.load_rules(rules_path)
|
||||
def get_validation_rules(self) -> dict:
|
||||
"""Get validation rules."""
|
||||
rules_path = Path(__file__).parent / "rules.yml"
|
||||
return self.load_rules(rules_path)
|
||||
```
|
||||
|
||||
1. **Test your validator** (optional but recommended):
|
||||
|
||||
Reference in New Issue
Block a user