Samir Silwal

Results 10 issues of Samir Silwal

## Changes - Introduce new command `run-script` - Accepts `--file` as flag - Can be used to run manual scripts in JS/TS or SQL - For SQl, simply run the...

feature

## Description: This PR introduces a set of utility functions that handle common string and array operations, such as checking string prefixes and suffixes, removing duplicates from arrays, and trimming...

## Changes - Check if the command provided to sync-db in valid one - Show the available command in case of invalid entry - Fixes the infinite loop while unknown...

bugfix

## Context - When we provide any invalid sub command to sync-db we run into a infinite loop until the command timeout ### Example ![image](https://github.com/user-attachments/assets/9282774d-505c-4316-8c3b-9cada88614da) ### Steps to replicate Use...

bug

## Changes - The URL for PR created reference in action logs is API url ![image](https://github.com/user-attachments/assets/9f4f12d9-522a-40e4-ba52-59d82698e3b5) - So this doesn't send us to required endpoint - Updated the use of...

## Changes - Wrap the collaborator review request API call with try catch - Just log the error instead of failing the action status - It creates the PR despite...

## Context - Currently, the action status fails when the sync PR is created but failed to get review request as the collaborator might no longer exists in the repo...

## Context - The URL for PR created reference in action logs is API url ![image](https://github.com/user-attachments/assets/9f4f12d9-522a-40e4-ba52-59d82698e3b5) ## Solution - User `html_url` instead as response from https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request

## Context - Node 16 will not receive any security patches after 2022 end ## Changes - Update node version to 20 (to action.yml and example workflow) - Update package...