feat: add role management and usage tracking modules
- Implemented role parsing and loading functionality in roles.js, allowing for structured role definitions with metadata. - Added tests for role management to ensure correct parsing and loading of roles. - Created usage.js to track API usage metrics, including token counts and rate limits. - Developed tests for usage tracking to validate functionality and edge cases. - Enhanced overall code structure and documentation for clarity and maintainability.
This commit is contained in:
@@ -9,9 +9,4 @@ jobs:
|
||||
runs-on: ubuntu
|
||||
steps:
|
||||
- name: Release Tag
|
||||
uses: https://gitea.jsc.idv.tw/composite-actions/release-tag@${{ vars.ACTION_VERSION_CALCULATE_VERSION }}
|
||||
with:
|
||||
gitea_token: ${{ secrets.GITEA_TOKEN }}
|
||||
gitea_release: ${{ vars.ACTION_GITEA_RELEASE_VERSION }}
|
||||
version_calculate: ${{ vars.ACTION_VERSION_CALCULATE_VERSION }}
|
||||
release_cleanup: ${{ vars.ACTION_RELEASE_CLEANUP_VERSION }}
|
||||
uses: https://gitea.jsc.idv.tw/composite-actions/tag-release@${{ vars.ACTION_TAG_RELEASE_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user