Open coderabbitai[bot] opened 3 days ago
["main", "master", "stable", patch-*, feature-*, HOTFIX-*]
bandit.yml
should be libral on all pull requests but only run on select pushes as with the linters using ["main", "master", "stable", patch-*, feature-*, HOTFIX-*]
codeql-analysis.yml
should be more selective and use only the default branch and stable branches or tags ["main", "master", "stable"]
and v[0-9].[0-9].[0-9]
respectively@coderabbitai, please verify this issue is resolved on the branch testing-coverage
[!TIP] For best results, initiate chat on the files or code changes.
@reactive-firewall, I have verified the workflows on the testing-coverage
branch. Here's a summary:
makefile-lint.yml
:
["main", "master", "stable", feature*]
["main", "master", "stable"]
patch-*
, feature-*
, and HOTFIX-*
in branch patterns.markdown-lint.yml
:
["main", "master", draft, draft*]
["main", "master"]
stable
, patch-*
, feature-*
, or HOTFIX-*
.yaml-lint.yml
:
["main", "master", "stable", feature*]
["main", "master", "stable"]
patch-*
, feature-*
, and HOTFIX-*
in branch patterns.bandit.yml
:
["master", "stable", feature-*, HOTFIX-*]
["master", "stable"]
patch-*
in branch patterns.codeql-analysis.yml
:
["master", "stable"]
["stable"]
main
in branches and tags matching v[0-9].[0-9].[0-9]
.Tests.yml
:
["master", "stable"]
v*
opened
, edited
, reopened
, synchronize
, ready_for_review
master
, stable
, and tags starting with v*
. However, it may still run on more pull requests than intended.Based on the above, the issue is not fully resolved on the testing-coverage
branch. The branch patterns need to be updated to match your specified criteria:
Linters (makefile-lint.yml
, markdown-lint.yml
, yaml-lint.yml
) should consistently use:
branches: ["main", "master", "stable", "patch-*", "feature-*", "HOTFIX-*"]
bandit.yml
should use the same branch patterns as the linters for both pushes and pull requests.
codeql-analysis.yml
should be more selective, using branches ["main", "master", "stable"]
and tags matching v[0-9].[0-9].[0-9]
:
branches: ["main", "master", "stable"]
tags: ["v[0-9].[0-9].[0-9]"]
Tests.yml
should be limited to:
master
, stable
, and tags.stable
.I referred to your previous preferences regarding consistent branch patterns for linters when reviewing these workflows.
Please let me know if you need any further assistance.
Issue Description:
There are inconsistencies in branch patterns across various workflow files in the repository. These inconsistencies could lead to workflows not triggering as expected. Standardizing the branch patterns across all workflows will ensure consistent CI/CD behavior.
References: