Compare commits
1 Commits
developmen
...
4db3302f69
Author | SHA1 | Date | |
---|---|---|---|
4db3302f69 |
@ -13,30 +13,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
||||||
- name: Enable Matcher Service
|
- name: Enable Matcher Service
|
||||||
run: |
|
run: |
|
||||||
echo "NFC_PROBLEM_MATCHER=${GITHUB_REF_NAME}";
|
echo "NFC_PROBLEM_MATCHER=${GITHUB_REF_NAME}";
|
||||||
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
||||||
- name: Install YAMLLint
|
- name: Install YAMLLint
|
||||||
run: pip install yamllint
|
run: pip install yamllint
|
||||||
|
|
||||||
|
|
||||||
- name: Run YAMLLint
|
- name: Run YAMLLint
|
||||||
run: |
|
run: |
|
||||||
echo "NFC_PROBLEM_MATCHER_TYPE=YAML-Lint"
|
echo "NFC_PROBLEM_MATCHER_TYPE=YAML-Lint"
|
||||||
yamllint -f github . || true
|
yamllint -f github . || true
|
||||||
|
|
||||||
|
|
||||||
- name: Install Ansible-Lint
|
|
||||||
run: pip install ansible-lint
|
|
||||||
|
|
||||||
|
|
||||||
- name: Run Ansible-Lint
|
|
||||||
run: |
|
|
||||||
echo "NFC_PROBLEM_MATCHER_TYPE=pylint-json";
|
|
||||||
ansible-lint -f json . || true
|
|
||||||
|
@ -74,4 +74,4 @@ rules:
|
|||||||
level: error
|
level: error
|
||||||
type: unix
|
type: unix
|
||||||
|
|
||||||
truthy: disable
|
truthy: disable
|
@ -144,8 +144,8 @@ regex = {
|
|||||||
r'"description":\s*"(?P<description>[^"]+)",\s*'
|
r'"description":\s*"(?P<description>[^"]+)",\s*'
|
||||||
r'"fingerprint":\s*"(?P<fingerprint>[^"]+)",\s*'
|
r'"fingerprint":\s*"(?P<fingerprint>[^"]+)",\s*'
|
||||||
r'"location":\s*\{\s*"path":\s*"(?P<path>[^"]+)".+?'
|
r'"location":\s*\{\s*"path":\s*"(?P<path>[^"]+)".+?'
|
||||||
r'"line[s]?":.+?(?P<line>\d+).*?\}}'
|
r'"line[s]?":.+?(?P<line>\d+).*?\}},'
|
||||||
r'(?:,\s"content":\s\{"body":\s"(?P<body>.+?)")?'
|
r'(?:\s"content":\s\{"body":\s"(?P<body>.+?)")?'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user