fix: No problems found #6

Merged
jon merged 11 commits from fix-5-no-promlems-approve-pr into development 2025-07-12 14:11:41 +00:00
7 changed files with 147 additions and 44 deletions
Showing only changes of commit 5e69fb2807 - Show all commits

View File

@ -12,7 +12,9 @@ commitizen:
- fix
- test
- refactor
# yamllint disable rule:line-length
jon marked this conversation as resolved Outdated

Important

YAML-Lint Severity: error
file: .cz.yaml Line: 15 Column: 81

[line-length] line too long (148 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _.cz.yaml_ **Line**: _15_ **Column**: _81_ > > [line-length] line too long (148 > 80 characters) >

Important

YAML-Lint Severity: error
file: .cz.yaml Line: 15 Column: 81

[line-length] line too long (148 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _.cz.yaml_ **Line**: _15_ **Column**: _81_ > > [line-length] line too long (148 > 80 characters) >

Warning

YAML-Lint Severity: warning
file: .cz.yaml Line: 15 Column: 101

[line-length] line too long (148 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _.cz.yaml_ **Line**: _15_ **Column**: _101_ > > [line-length] line too long (148 > 100 characters) >

Warning

YAML-Lint Severity: warning
file: .cz.yaml Line: 15 Column: 101

[line-length] line too long (148 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _.cz.yaml_ **Line**: _15_ **Column**: _101_ > > [line-length] line too long (148 > 100 characters) >
commit_parser: ^(?P<change_type>feat|fix|test|refactor|perf|BREAKING CHANGE)(?:\((?P<scope>[^()\r\n]*)\)|\()?(?P<breaking>!)?:\s(?P<message>.*)?
# yamllint enable rule:line-length
name: cz_customize
prerelease_offset: 1
tag_format: $version

View File

@ -27,10 +27,12 @@
- name: Process Completed workflow_job
# yamllint disable rule:indentation
condition: >
event.meta.headers['X-GitHub-Event'] == 'workflow_job'
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: extensions/eda/rulebooks/problem_matcher.yml Line: 32 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _extensions/eda/rulebooks/problem_matcher.yml_ **Line**: _32_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
Review

Important

YAML-Lint Severity: error
file: extensions/eda/rulebooks/problem_matcher.yml Line: 32 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _extensions/eda/rulebooks/problem_matcher.yml_ **Line**: _32_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
Review

Important

YAML-Lint Severity: error
file: extensions/eda/rulebooks/problem_matcher.yml Line: 32 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _extensions/eda/rulebooks/problem_matcher.yml_ **Line**: _32_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
Review

Important

YAML-Lint Severity: error
file: extensions/eda/rulebooks/problem_matcher.yml Line: 32 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _extensions/eda/rulebooks/problem_matcher.yml_ **Line**: _32_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
and
event.payload.action == 'completed'
# yamllint enable rule:indentation
actions:
- run_playbook:

View File

@ -1,79 +1,46 @@
---
### REQUIRED
# The namespace of the collection. This can be a company/brand/organization or product namespace under which all
# content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with
# underscores or numbers and cannot contain consecutive underscores
namespace: nofusscomputing
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 4 Column: 81

[line-length] line too long (112 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _4_ **Column**: _81_ > > [line-length] line too long (112 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 4 Column: 81

[line-length] line too long (112 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _4_ **Column**: _81_ > > [line-length] line too long (112 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 4 Column: 101

[line-length] line too long (112 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _4_ **Column**: _101_ > > [line-length] line too long (112 > 100 characters) >
# The name of the collection. Has the same character restrictions as 'namespace'
name: git_events
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 5 Column: 81

[line-length] line too long (113 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _5_ **Column**: _81_ > > [line-length] line too long (113 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 5 Column: 81

[line-length] line too long (113 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _5_ **Column**: _81_ > > [line-length] line too long (113 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 5 Column: 101

[line-length] line too long (113 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _5_ **Column**: _101_ > > [line-length] line too long (113 > 100 characters) >
# The version of the collection. Must be compatible with semantic versioning
version: 0.0.1
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
# @nicks:irc/im.site#channel'
authors:
- No Fuss Computing
### OPTIONAL but strongly recommended
# A short summary description of the collection
description: Git[ea/hub] Problem matcher parser with PR Code Review
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
license:
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 15 Column: 81

[line-length] line too long (97 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _15_ **Column**: _81_ > > [line-length] line too long (97 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 15 Column: 81

[line-length] line too long (97 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _15_ **Column**: _81_ > > [line-length] line too long (97 > 80 characters) >
- MIT
# The path to the license file for the collection. This path is relative to the root of the collection. This key is
# mutually exclusive with 'license'
license_file: LICENCE
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 18 Column: 81

[line-length] line too long (108 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _18_ **Column**: _81_ > > [line-length] line too long (108 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 18 Column: 81

[line-length] line too long (108 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _18_ **Column**: _81_ > > [line-length] line too long (108 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 18 Column: 101

[line-length] line too long (108 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _18_ **Column**: _101_ > > [line-length] line too long (108 > 100 characters) >
# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
# requirements as 'namespace' and 'name'
tags:
- ci
- event
- rulebook
- tools
# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
# collection label 'namespace.name'. The value is a version range
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
dependencies: {}
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 27 Column: 81

[line-length] line too long (113 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _27_ **Column**: _81_ > > [line-length] line too long (113 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 27 Column: 81

[line-length] line too long (113 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _27_ **Column**: _81_ > > [line-length] line too long (113 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 27 Column: 101

[line-length] line too long (113 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _27_ **Column**: _101_ > > [line-length] line too long (113 > 100 characters) >
# The URL of the originating SCM repository
repository: https://nofusscomputing.com/git/ansible-collections/git-events
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 28 Column: 81

[line-length] line too long (105 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _28_ **Column**: _81_ > > [line-length] line too long (105 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 28 Column: 81

[line-length] line too long (105 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _28_ **Column**: _81_ > > [line-length] line too long (105 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 28 Column: 101

[line-length] line too long (105 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _28_ **Column**: _101_ > > [line-length] line too long (105 > 100 characters) >
# The URL to any online docs
documentation: https://nofusscomputing.com/git/ansible-collections/git-events
# The URL to the homepage of the collection/project
homepage: https://nofusscomputing.com/git/ansible-collections/git-events
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 32 Column: 81

[line-length] line too long (115 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _32_ **Column**: _81_ > > [line-length] line too long (115 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 32 Column: 81

[line-length] line too long (115 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _32_ **Column**: _81_ > > [line-length] line too long (115 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 32 Column: 101

[line-length] line too long (115 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _32_ **Column**: _101_ > > [line-length] line too long (115 > 100 characters) >
# The URL to the collection issue tracker
issues: https://nofusscomputing.com/git/ansible-collections/git-events/issues
# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry',
# and '.git' are always filtered. Mutually exclusive with 'manifest'
build_ignore: [
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 36 Column: 81

[line-length] line too long (116 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _36_ **Column**: _81_ > > [line-length] line too long (116 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 36 Column: 81

[line-length] line too long (116 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _36_ **Column**: _81_ > > [line-length] line too long (116 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 36 Column: 101

[line-length] line too long (116 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _36_ **Column**: _101_ > > [line-length] line too long (116 > 100 characters) >
'.ansible',
artifacts/,
'.cz.yaml',
'.dockerignore',
'dockerfile',
'.git',
'galaxy.yml',
'*.tmp.*'
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 44 Column: 81

[line-length] line too long (107 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _44_ **Column**: _81_ > > [line-length] line too long (107 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 44 Column: 81

[line-length] line too long (107 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _44_ **Column**: _81_ > > [line-length] line too long (107 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 44 Column: 101

[line-length] line too long (107 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _44_ **Column**: _101_ > > [line-length] line too long (107 > 100 characters) >
]
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 46 Column: 81

[line-length] line too long (116 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _46_ **Column**: _81_ > > [line-length] line too long (116 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: galaxy.yml Line: 46 Column: 81

[line-length] line too long (116 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _galaxy.yml_ **Line**: _46_ **Column**: _81_ > > [line-length] line too long (116 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: galaxy.yml Line: 46 Column: 101

[line-length] line too long (116 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _galaxy.yml_ **Line**: _46_ **Column**: _101_ > > [line-length] line too long (116 > 100 characters) >
# A dict controlling use of manifest directives used in building the collection artifact. The key 'directives' is a
# list of MANIFEST.in style
# L(directives,https://packaging.python.org/en/latest/guides/using-manifest-in/#manifest-in-commands). The key
# 'omit_default_directives' is a boolean that controls whether the default directives are used. Mutually exclusive
# with 'build_ignore'
# manifest: null

View File

@ -30,7 +30,9 @@
- name: Set required Facts
ansible.builtin.set_fact:
git_url_api: "{{ payload.repository.url | replace((gitea_replace_url | split('/api/'))[0], git_api_url) }}"
git_url_api: >-
jon marked this conversation as resolved Outdated

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 33 Column: 81

[line-length] line too long (115 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _33_ **Column**: _81_ > > [line-length] line too long (115 > 80 characters) >

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 33 Column: 81

[line-length] line too long (115 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _33_ **Column**: _81_ > > [line-length] line too long (115 > 80 characters) >

Warning

YAML-Lint Severity: warning
file: playbooks/problem_matcher.yaml Line: 33 Column: 101

[line-length] line too long (115 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _33_ **Column**: _101_ > > [line-length] line too long (115 > 100 characters) >

Warning

YAML-Lint Severity: warning
file: playbooks/problem_matcher.yaml Line: 33 Column: 101

[line-length] line too long (115 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _33_ **Column**: _101_ > > [line-length] line too long (115 > 100 characters) >
{{ payload.repository.url |
replace((gitea_replace_url | split('/api/'))[0], git_api_url) }}
git_url_path_jobs: 'actions/jobs'
head_sha: "{{ payload.workflow_job.head_sha }}"
@ -51,7 +53,9 @@
- name: Fetch job log
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 54 Column: 81

[line-length] line too long (109 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _54_ **Column**: _81_ > > [line-length] line too long (109 > 80 characters) >
Review

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 54 Column: 81

[line-length] line too long (109 > 80 characters)

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _54_ **Column**: _81_ > > [line-length] line too long (109 > 80 characters) >
Review

Warning

YAML-Lint Severity: warning
file: playbooks/problem_matcher.yaml Line: 54 Column: 101

[line-length] line too long (109 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _54_ **Column**: _101_ > > [line-length] line too long (109 > 100 characters) >
Review

Warning

YAML-Lint Severity: warning
file: playbooks/problem_matcher.yaml Line: 54 Column: 101

[line-length] line too long (109 > 100 characters)

> [!WARNING] > > **YAML-Lint Severity:** _warning_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _54_ **Column**: _101_ > > [line-length] line too long (109 > 100 characters) >
ansible.builtin.uri:
url: "{{ git_url_api + '/' + git_url_path_jobs + '/' + payload.workflow_job.id | string + '/logs' }}"
url: >-
{{ git_url_api + '/' + git_url_path_jobs
+ '/' + payload.workflow_job.id | string + '/logs' }}
dest: /tmp/job.log
headers:
Authorization: token {{ lookup('env', 'GIT_API_TOKEN') }}
@ -119,9 +123,11 @@
timeout: 10
validate_certs: false
jon marked this conversation as resolved
Review

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 124 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _124_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
Review

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 124 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _124_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
no_log: "{{ disable_logging }}"
# yamllint disable rule:indentation
jon marked this conversation as resolved Outdated

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 126 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _126_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >

Important

YAML-Lint Severity: error
file: playbooks/problem_matcher.yaml Line: 126 Column: 11

[indentation] wrong indentation: expected 8but found 10

> [!IMPORTANT] > > **YAML-Lint Severity:** _error_ > **file**: _playbooks/problem_matcher.yaml_ **Line**: _126_ **Column**: _11_ > > [indentation] wrong indentation: expected 8but found 10 >
when: >
http_get_pull_request.json.state | default('-') != 'closed'
and
http_get_pull_request.status | default(0) == 200
and
not http_get_pull_request.skipped | default(false) | bool
# yamllint enable rule:indentation