PalisadoesFoundation / talawa

Community Organization Management Software. Click on the link below to see our documentation.
https://docs.talawa.io/
GNU General Public License v3.0
306 stars 434 forks source link

Github Action: Utlize `changed-files` action for file-count-check and unauthorized-changes-check #2444

Closed lakshz closed 3 months ago

lakshz commented 3 months ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  1. Utilize the tj-actions/changed-files github action, and create a new job in pull-request.yml, to check if the PR has changes in authorized files.

  2. The job should exit with error code if there are any unauthorized changes

  3. The job should print the unauthorized changes

  4. Utilize the same action, and create a File-Count-Check Job defined in pull_request.yml, to count the files in a PR.

  5. We can get rid of authorized-changes-detection.yml from workflow, if the above things are done

Additional context This PR achieves the same in talawa-admin repo https://github.com/PalisadoesFoundation/talawa-admin/pull/1793

Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359

github-actions[bot] commented 3 months ago

Congratulations on making your first Issue! :confetti_ball: If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

palisadoes commented 3 months ago

@lakshz Do you want to work on this?

lakshz commented 3 months ago

Yes. Please assign