You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run prettier formatter and if there are changes left on complete, add them back and commit to the repo if there is enough permission or else fail the job with a suitable error message
Run commitlint and validate the commit message
All 3 can implemented as reusable actions under the following repo and consumed. Later these can be united under a resuable workflow. A new folder with a name of code-quality can be added for this purpose and registered under workspaces
The third needs to check if the repo already has a commitlint.config.js file and if it is not there, download one which is defined under the actions directory, the contents of the file will be the same as the ones in this repo. The necessary dependencies must be installed as well if not already available
The text was updated successfully, but these errors were encountered:
Akalanka47000
changed the title
Add workflow to run linter on pull requests to development and main branches
Add workflow to run code quality checks on pull requests to development and main branches
Jul 29, 2023
There'll be 3 jobs to be run in parallel
All 3 can implemented as reusable actions under the following repo and consumed. Later these can be united under a resuable workflow. A new folder with a name of
code-quality
can be added for this purpose and registered under workspacesThe third needs to check if the repo already has a
commitlint.config.js
file and if it is not there, download one which is defined under the actions directory, the contents of the file will be the same as the ones in this repo. The necessary dependencies must be installed as well if not already availableThe text was updated successfully, but these errors were encountered: