-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(actionlint): exclude files with very large number of linter errors #3446
ci(actionlint): exclude files with very large number of linter errors #3446
Conversation
Primary change: Creates a central workflow to run all 13 weaver test workflows from either a push, a pull request, a github command, or a schedule. Passes a 'run_all' boolean to sub-workflows to specify if all tests should be run, not just those with changes. Secondary changes: - update concurrency groups to allow triggering from central workflow - remove ability to run the 13 workflows individually to declutter ci menu check whether RUN_ALL can be calculated in the environment instead of as a job rename weaver test file update actionlint to latest Depends on hyperledger-cacti#3446 Signed-off-by: Jennifer Bell <jenniferlianne@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides Michal's comments, everything LGTM
daeb831
to
09ef9f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@petermetz @jenniferlianne Sorry for keeping this blocked, you could've merge this once other contributors approved this, I was unavailable for last few days :(
1. There is a set of yaml workflow files that have to be removed prior to the action lint task because they have hundreds of unfixed errors that we didn't yet have time to address and the action lint github action has no easy way to ignore files unfortunately so the easiest way to achieve that is to wipe the fiels we don't want linting. This workaround caused a problem with the workflow reuse improvements we were recently trying to introduce. So now the way they get excluded is that we feed an explicit list of workflow files to the linter that we want to get linted and we exclued the problematic files from that list. 2. Also fixed on linter warning with the docker login action being outdated. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
09ef9f2
to
fddc2c3
Compare
Primary change: Creates a central workflow to run all 13 weaver test workflows from either a push, a pull request, a github command, or a schedule. Passes a 'run_all' boolean to sub-workflows to specify if all tests should be run, not just those with changes. Secondary changes: - update concurrency groups to allow triggering from central workflow - remove ability to run the 13 workflows individually to declutter ci menu check whether RUN_ALL can be calculated in the environment instead of as a job rename weaver test file update actionlint to latest Depends on hyperledger-cacti#3446 Signed-off-by: Jennifer Bell <jenniferlianne@gmail.com>
Primary change: Creates a central workflow to run all 13 weaver test workflows from either a push, a pull request, a github command, or a schedule. Passes a 'run_all' boolean to sub-workflows to specify if all tests should be run, not just those with changes. Secondary changes: - update concurrency groups to allow triggering from central workflow - remove ability to run the 13 workflows individually to declutter ci menu check whether RUN_ALL can be calculated in the environment instead of as a job rename weaver test file update actionlint to latest Depends on #3446 Signed-off-by: Jennifer Bell <jenniferlianne@gmail.com>
@outSH No worries and thank you for the review! |
action lint task because they have hundreds of unfixed errors that we didn't
yet have time to address and the action lint github action has no easy way
to ignore files unfortunately so the easiest way to achieve that is to wipe
the fiels we don't want linting. This workaround caused a problem with the
workflow reuse improvements we were recently trying to introduce. So now
the way they get excluded is that we feed an explicit list of workflow files
to the linter that we want to get linted and we exclued the problematic files
from that list.
Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com
Pull Request Requirements
upstream/main
branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.-s
flag when usinggit commit
command. You may refer to this link for more information.Character Limit
A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.