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

Proper token count based on model #2

Merged
merged 42 commits into from
May 28, 2024
Merged

Proper token count based on model #2

merged 42 commits into from
May 28, 2024

Conversation

oleander
Copy link
Owner

No description provided.

src/hook.rs Outdated Show resolved Hide resolved
@oleander oleander marked this pull request as ready for review May 17, 2024 22:31
Change the trigger types for the continuous delivery pipeline in the GitHub Actions workflow file (cd.yml). Restrict triggers to the 'closed' event type rather than 'opened', 'synchronize', 'reopened', and 'closed'. Also, add 'workflow_dispatch' to allow manual running of the workflow.
The main function now has a better error handling mechanism using the standard process exit call. In the event of an error, the program prints the error and exits with a status code of 1. Also, debug log messages have been added to give additional insight into the execution duration of the program whether it ends successfully or encounters an error.
This commit adds a debug log to the Args implementation, making it easier to monitor if a commit message has already been provided. In addition, it also handles invalid sources, ensuring program stability by returning Ok(()) in such cases.
@oleander oleander merged commit 81e0d59 into main May 28, 2024
6 checks passed
@oleander oleander deleted the feature/tokens branch May 28, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant