mirror of
https://github.com/getsolus/packages.git
synced 2025-04-25 20:30:37 +03:00
[NFC] repo-wide: Replace montoring.yml with monitoring.yaml
**Summary** - Previous commit handled all the renames, this commit chnages: - Comment text in some monitoring files - The taskfile task for a new monitoring file - The CI check for monitoring file existence
This commit is contained in:
parent
071d113d23
commit
ee3114db8e
11 changed files with 14 additions and 14 deletions
|
@ -421,7 +421,7 @@ class Homepage(PullRequestCheck):
|
|||
|
||||
|
||||
class Monitoring(PullRequestCheck):
|
||||
_error = '`monitoring.yml` is missing'
|
||||
_error = '`monitoring.yaml` is missing'
|
||||
_level = Level.WARNING
|
||||
|
||||
def run(self) -> List[Result]:
|
||||
|
@ -430,7 +430,7 @@ class Monitoring(PullRequestCheck):
|
|||
if not self._has_monitoring_yml(f)]
|
||||
|
||||
def _has_monitoring_yml(self, file: str) -> bool:
|
||||
return self._exists(os.path.join(os.path.dirname(file), 'monitoring.yml'))
|
||||
return self._exists(os.path.join(os.path.dirname(file), 'monitoring.yaml'))
|
||||
|
||||
|
||||
class PackageBumped(PullRequestCheck):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue