-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Feature - Automated pull request checks #1159
base: main
Are you sure you want to change the base?
Feature - Automated pull request checks #1159
Commits on Jan 22, 2024
-
Feature/hozlucas28 automated checks (#1)
* Create check-pull-request-title action * Create check-pull-request-changed-files action * Add utils.js file with language and challenge functions * Add language data to data.json * Add GitHub Actions workflow to check pull requests * Add pull request title and changed file checks This commit adds two new jobs to the GitHub Actions workflow. The first job checks the title of the pull request, while the second job retrieves the changed and modified files. These changes will help ensure that the pull request meets the required criteria. * Update language names in data.json * Update pull request title validation Refactor the pull request title validation logic to use the correct input name and programming language names. This ensures that the title follows the format "#<CHALLENGE NUMBER> - <LANGUAGE NAME>". * Refactor utils.js to use object literals for challenges and programming languages * Update comments * Rename input name in check-pull-request.yml workflow * Update strings of check-pull-request-title action * Update action.yml and main.js for checking changed and modified files of a pull request * Move and rename action folders * Update file extension name in data.json * Add outputs for challenge number and programming language name based on pull request title * Add new outputs * Add Roadmap folder to pull request check This commit adds the 'Roadmap' folder to the pull request check, excluding any markdown files within it. * Refactor pull request title validation logic * Add debug statement to check changed and modified files * Create action to check changed or modified file * Refactor utils.js to add new functions and improve existing ones * Update language data in data.json * Update workflow inputs and outputs * Update inputs and outputs * Update output variable name * Update output variable names * Update programming-language description in action.yml * Refactor check-changed-or-modified-file script This commit refactors the check-changed-or-modified-file script by updating variable names and improving code readability. * Refactor utils.js to improve readability and add new functionality
Configuration menu - View commit details
-
Copy full SHA for 8441813 - Browse repository at this point
Copy the full SHA 8441813View commit details -
Feature/hozlucas28-automated-checks
* Create check-pull-request-title action * Create check-pull-request-changed-files action * Add utils.js file with language and challenge functions * Add language data to data.json * Add GitHub Actions workflow to check pull requests * Add pull request title and changed file checks This commit adds two new jobs to the GitHub Actions workflow. The first job checks the title of the pull request, while the second job retrieves the changed and modified files. These changes will help ensure that the pull request meets the required criteria. * Update language names in data.json * Update pull request title validation Refactor the pull request title validation logic to use the correct input name and programming language names. This ensures that the title follows the format "#<CHALLENGE NUMBER> - <LANGUAGE NAME>". * Refactor utils.js to use object literals for challenges and programming languages * Update comments * Rename input name in check-pull-request.yml workflow * Update strings of check-pull-request-title action * Update action.yml and main.js for checking changed and modified files of a pull request * Move and rename action folders * Update file extension name in data.json * Add outputs for challenge number and programming language name based on pull request title * Add new outputs * Add Roadmap folder to pull request check This commit adds the 'Roadmap' folder to the pull request check, excluding any markdown files within it. * Refactor pull request title validation logic * Add debug statement to check changed and modified files * Create action to check changed or modified file * Refactor utils.js to add new functions and improve existing ones * Update language data in data.json * Update workflow inputs and outputs * Update inputs and outputs * Update output variable name * Update output variable names * Update programming-language description in action.yml * Refactor check-changed-or-modified-file script This commit refactors the check-changed-or-modified-file script by updating variable names and improving code readability. * Refactor utils.js to improve readability and add new functionality * Improve error messages * Refactor code to use utility function for formatting array to string * Improve names * Improve descriptions and names * Refactor input and output names in check-changed-and-modified-files action * Refactor pull request title validation logic * Update debug message in main.js * Refactor utils.js file * Add type module to package.json * Refactor check-title/main.js for improved readability and maintainability * Add type module to package.json * Remove unused language data * Update inputs in action.yml file * Refactor file paths and inputs in check-changed-or-modified-file action * Fix pull request title format * Refactor code to improve readability and maintainability * Refactor GitHub Actions workflow This commit refactors the GitHub Actions workflow for checking pull requests. It removes unused outputs and simplifies the steps. * Add read permission to pull requests * Rename action folders
Configuration menu - View commit details
-
Copy full SHA for b69cbfc - Browse repository at this point
Copy the full SHA b69cbfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 843f056 - Browse repository at this point
Copy the full SHA 843f056View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7176ad - Browse repository at this point
Copy the full SHA e7176adView commit details -
Fix GitHub Action - Check pull request
* Create check-pull-request-title action * Create check-pull-request-changed-files action * Add utils.js file with language and challenge functions * Add language data to data.json * Add GitHub Actions workflow to check pull requests * Add pull request title and changed file checks This commit adds two new jobs to the GitHub Actions workflow. The first job checks the title of the pull request, while the second job retrieves the changed and modified files. These changes will help ensure that the pull request meets the required criteria. * Update language names in data.json * Update pull request title validation Refactor the pull request title validation logic to use the correct input name and programming language names. This ensures that the title follows the format "#<CHALLENGE NUMBER> - <LANGUAGE NAME>". * Refactor utils.js to use object literals for challenges and programming languages * Update comments * Rename input name in check-pull-request.yml workflow * Update strings of check-pull-request-title action * Update action.yml and main.js for checking changed and modified files of a pull request * Move and rename action folders * Update file extension name in data.json * Add outputs for challenge number and programming language name based on pull request title * Add new outputs * Add Roadmap folder to pull request check This commit adds the 'Roadmap' folder to the pull request check, excluding any markdown files within it. * Refactor pull request title validation logic * Add debug statement to check changed and modified files * Create action to check changed or modified file * Refactor utils.js to add new functions and improve existing ones * Update language data in data.json * Update workflow inputs and outputs * Update inputs and outputs * Update output variable name * Update output variable names * Update programming-language description in action.yml * Refactor check-changed-or-modified-file script This commit refactors the check-changed-or-modified-file script by updating variable names and improving code readability. * Refactor utils.js to improve readability and add new functionality * Improve error messages * Refactor code to use utility function for formatting array to string * Improve names * Improve descriptions and names * Refactor input and output names in check-changed-and-modified-files action * Refactor pull request title validation logic * Update debug message in main.js * Refactor utils.js file * Add type module to package.json * Refactor check-title/main.js for improved readability and maintainability * Add type module to package.json * Remove unused language data * Update inputs in action.yml file * Refactor file paths and inputs in check-changed-or-modified-file action * Fix pull request title format * Refactor code to improve readability and maintainability * Refactor GitHub Actions workflow This commit refactors the GitHub Actions workflow for checking pull requests. It removes unused outputs and simplifies the steps. * Add read permission to pull requests * Rename action folders * Change jobs order * Fix roadmapPath * Add separator option to get committed files * Update splitting of committed files * Add ref on checkouts
Configuration menu - View commit details
-
Copy full SHA for da7f816 - Browse repository at this point
Copy the full SHA da7f816View commit details -
* Create check-pull-request-title action * Create check-pull-request-changed-files action * Add utils.js file with language and challenge functions * Add language data to data.json * Add GitHub Actions workflow to check pull requests * Add pull request title and changed file checks This commit adds two new jobs to the GitHub Actions workflow. The first job checks the title of the pull request, while the second job retrieves the changed and modified files. These changes will help ensure that the pull request meets the required criteria. * Update language names in data.json * Update pull request title validation Refactor the pull request title validation logic to use the correct input name and programming language names. This ensures that the title follows the format "#<CHALLENGE NUMBER> - <LANGUAGE NAME>". * Refactor utils.js to use object literals for challenges and programming languages * Update comments * Rename input name in check-pull-request.yml workflow * Update strings of check-pull-request-title action * Update action.yml and main.js for checking changed and modified files of a pull request * Move and rename action folders * Update file extension name in data.json * Add outputs for challenge number and programming language name based on pull request title * Add new outputs * Add Roadmap folder to pull request check This commit adds the 'Roadmap' folder to the pull request check, excluding any markdown files within it. * Refactor pull request title validation logic * Add debug statement to check changed and modified files * Create action to check changed or modified file * Refactor utils.js to add new functions and improve existing ones * Update language data in data.json * Update workflow inputs and outputs * Update inputs and outputs * Update output variable name * Update output variable names * Update programming-language description in action.yml * Refactor check-changed-or-modified-file script This commit refactors the check-changed-or-modified-file script by updating variable names and improving code readability. * Refactor utils.js to improve readability and add new functionality * Improve error messages * Refactor code to use utility function for formatting array to string * Improve names * Improve descriptions and names * Refactor input and output names in check-changed-and-modified-files action * Refactor pull request title validation logic * Update debug message in main.js * Refactor utils.js file * Add type module to package.json * Refactor check-title/main.js for improved readability and maintainability * Add type module to package.json * Remove unused language data * Update inputs in action.yml file * Refactor file paths and inputs in check-changed-or-modified-file action * Fix pull request title format * Refactor code to improve readability and maintainability * Refactor GitHub Actions workflow This commit refactors the GitHub Actions workflow for checking pull requests. It removes unused outputs and simplifies the steps. * Add read permission to pull requests * Rename action folders * Change jobs order * Fix roadmapPath * Add separator option to get committed files * Update splitting of committed files * Add ref on checkouts * Fix regex
Configuration menu - View commit details
-
Copy full SHA for 5c499bb - Browse repository at this point
Copy the full SHA 5c499bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 523eeee - Browse repository at this point
Copy the full SHA 523eeeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0442447 - Browse repository at this point
Copy the full SHA 0442447View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd2d23a - Browse repository at this point
Copy the full SHA cd2d23aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bfb8c0 - Browse repository at this point
Copy the full SHA 7bfb8c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f343d - Browse repository at this point
Copy the full SHA 17f343dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa89ab5 - Browse repository at this point
Copy the full SHA aa89ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5c80af - Browse repository at this point
Copy the full SHA e5c80afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f42243 - Browse repository at this point
Copy the full SHA 3f42243View commit details
Commits on Jan 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2eda980 - Browse repository at this point
Copy the full SHA 2eda980View commit details -
Configuration menu - View commit details
-
Copy full SHA for b27eaf1 - Browse repository at this point
Copy the full SHA b27eaf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a3217 - Browse repository at this point
Copy the full SHA a0a3217View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e4a466 - Browse repository at this point
Copy the full SHA 8e4a466View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbe96bc - Browse repository at this point
Copy the full SHA cbe96bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fece354 - Browse repository at this point
Copy the full SHA fece354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68eca53 - Browse repository at this point
Copy the full SHA 68eca53View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf79f7d - Browse repository at this point
Copy the full SHA cf79f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6f1289 - Browse repository at this point
Copy the full SHA b6f1289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 630bf81 - Browse repository at this point
Copy the full SHA 630bf81View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac49e71 - Browse repository at this point
Copy the full SHA ac49e71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ff9f9c - Browse repository at this point
Copy the full SHA 4ff9f9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb0df49 - Browse repository at this point
Copy the full SHA eb0df49View commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cbe6941 - Browse repository at this point
Copy the full SHA cbe6941View commit details -
Configuration menu - View commit details
-
Copy full SHA for e079ece - Browse repository at this point
Copy the full SHA e079eceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9248308 - Browse repository at this point
Copy the full SHA 9248308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 120ec06 - Browse repository at this point
Copy the full SHA 120ec06View commit details -
Configuration menu - View commit details
-
Copy full SHA for e337de6 - Browse repository at this point
Copy the full SHA e337de6View commit details -
Feature/hozlucas28 automated pull request checks (#18)
* Create utils.mjs * Create pull request actions * Create workflow to check pull requests * Update template to avoid unnecessary workflow initialization and fix typography
Configuration menu - View commit details
-
Copy full SHA for a8db817 - Browse repository at this point
Copy the full SHA a8db817View commit details -
Merge pull request #22 from hozlucas28/feature/hozlucas28-automated-p…
…ull-request-checks Feature/hozlucas28 automated pull request checks
Configuration menu - View commit details
-
Copy full SHA for f323ce3 - Browse repository at this point
Copy the full SHA f323ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 275d6a5 - Browse repository at this point
Copy the full SHA 275d6a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cde899c - Browse repository at this point
Copy the full SHA cde899cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd875a2 - Browse repository at this point
Copy the full SHA bd875a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aa987f - Browse repository at this point
Copy the full SHA 9aa987fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 502cc17 - Browse repository at this point
Copy the full SHA 502cc17View commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 39e0574 - Browse repository at this point
Copy the full SHA 39e0574View commit details -
Configuration menu - View commit details
-
Copy full SHA for f33a00c - Browse repository at this point
Copy the full SHA f33a00cView commit details -
Update "check-committed-files" job in order to compare the file name …
…with the author name case insensitive
Configuration menu - View commit details
-
Copy full SHA for d1c3605 - Browse repository at this point
Copy the full SHA d1c3605View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3e336b - Browse repository at this point
Copy the full SHA e3e336bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26da343 - Browse repository at this point
Copy the full SHA 26da343View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6381c - Browse repository at this point
Copy the full SHA fb6381cView commit details
Commits on Jan 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b4b3bca - Browse repository at this point
Copy the full SHA b4b3bcaView commit details -
Merge branch 'feature/hozlucas28-automated-pull-request-checks' of ht…
…tps://github.com/hozlucas28/Programming-Challenges-2024 into feature/hozlucas28-automated-pull-request-checks
Configuration menu - View commit details
-
Copy full SHA for 1cce921 - Browse repository at this point
Copy the full SHA 1cce921View commit details -
Configuration menu - View commit details
-
Copy full SHA for e049e1b - Browse repository at this point
Copy the full SHA e049e1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d76b1 - Browse repository at this point
Copy the full SHA a1d76b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for df609f7 - Browse repository at this point
Copy the full SHA df609f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffeca73 - Browse repository at this point
Copy the full SHA ffeca73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5953f6f - Browse repository at this point
Copy the full SHA 5953f6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd52563 - Browse repository at this point
Copy the full SHA dd52563View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a9c5b - Browse repository at this point
Copy the full SHA c4a9c5bView commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 322b574 - Browse repository at this point
Copy the full SHA 322b574View commit details