Skip to content
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

Open
wants to merge 55 commits into
base: main
Choose a base branch
from

Commits on Jan 22, 2024

  1. 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
    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8441813 View commit details
    Browse the repository at this point in the history
  2. 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
    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b69cbfc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    843f056 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7176ad View commit details
    Browse the repository at this point in the history
  5. 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
    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    da7f816 View commit details
    Browse the repository at this point in the history
  6. Fix errors

    * 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
    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5c499bb View commit details
    Browse the repository at this point in the history
  7. Fix error message

    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    523eeee View commit details
    Browse the repository at this point in the history
  8. Remove trash

    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0442447 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cd2d23a View commit details
    Browse the repository at this point in the history
  10. Temporal change

    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    7bfb8c0 View commit details
    Browse the repository at this point in the history
  11. Temporal change

    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    17f343d View commit details
    Browse the repository at this point in the history
  12. Remove temporal changes

    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    aa89ab5 View commit details
    Browse the repository at this point in the history
  13. Update author input

    hozlucas28 committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e5c80af View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3f42243 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    2eda980 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b27eaf1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0a3217 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e4a466 View commit details
    Browse the repository at this point in the history
  5. Update conditionals

    hozlucas28 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    cbe96bc View commit details
    Browse the repository at this point in the history
  6. Add log

    hozlucas28 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    fece354 View commit details
    Browse the repository at this point in the history
  7. Update conditionals

    hozlucas28 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    68eca53 View commit details
    Browse the repository at this point in the history
  8. Remove conditionals

    hozlucas28 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    cf79f7d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b6f1289 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    630bf81 View commit details
    Browse the repository at this point in the history
  11. Update workflow

    hozlucas28 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    ac49e71 View commit details
    Browse the repository at this point in the history
  12. Fix split

    hozlucas28 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4ff9f9c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    eb0df49 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Create utils.mjs

    hozlucas28 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    cbe6941 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e079ece View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9248308 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    120ec06 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e337de6 View commit details
    Browse the repository at this point in the history
  6. 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
    hozlucas28 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    a8db817 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #22 from hozlucas28/feature/hozlucas28-automated-p…

    …ull-request-checks
    
    Feature/hozlucas28 automated pull request checks
    hozlucas28 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    f323ce3 View commit details
    Browse the repository at this point in the history
  8. Create utils.mjs

    hozlucas28 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    275d6a5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cde899c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bd875a2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9aa987f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    502cc17 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    39e0574 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f33a00c View commit details
    Browse the repository at this point in the history
  3. Update "check-committed-files" job in order to compare the file name …

    …with the author name case insensitive
    hozlucas28 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    d1c3605 View commit details
    Browse the repository at this point in the history
  4. Add file extension check

    hozlucas28 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    e3e336b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26da343 View commit details
    Browse the repository at this point in the history
  6. Improve references

    hozlucas28 committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    fb6381c View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    b4b3bca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cce921 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e049e1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1d76b1 View commit details
    Browse the repository at this point in the history
  5. Revert "Merge branch 'main' into feature/hozlucas28-automated-pull-re…

    …quest-checks"
    
    This reverts commit a1d76b1, reversing
    changes made to e049e1b.
    hozlucas28 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    df609f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ffeca73 View commit details
    Browse the repository at this point in the history
  7. Fix dependency bug

    hozlucas28 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    5953f6f View commit details
    Browse the repository at this point in the history
  8. Update action reference

    hozlucas28 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    dd52563 View commit details
    Browse the repository at this point in the history
  9. Fix typographical errors

    hozlucas28 committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    c4a9c5b View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Fix typographical error

    hozlucas28 committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    322b574 View commit details
    Browse the repository at this point in the history