-
Notifications
You must be signed in to change notification settings - Fork 0
Merge 'development' into 'main' #15
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
base: main
Are you sure you want to change the base?
Conversation
implement Nuha as a class using ONNX runtime BREAKING CHANGE:
BREAKING CHANGE:
…s-to-the-prediction-results feat: added original post and comments to the response
perf(requirements.txt): remove CUDA dependencies
refactor(src/model.py): remove unnecessary print
build(Dockerfile): Fix some issues in the Dockerfile
refactor(main.py-src/model.py): Refactor model output and response
add multi stage to the docker image replace python image with python slim
Add Multiclass api capabilities
Update Drone Template
* build: add GitHub Actions workflow to schedule milestones weekly Signed-off-by: Tamim Hamoudi <[email protected]> * move schedule-milestones.yaml from images to under workflows directly Signed-off-by: Tamim Hamoudi <[email protected]> --------- Signed-off-by: Tamim Hamoudi <[email protected]>
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Schedule Milestones | ||
uses: readmeio/[email protected] | ||
id: scheduled | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: 'S-' | ||
days: Thursday | ||
count: 4 | ||
format: YYYY-MM-DD | ||
|
||
- name: Created Milestones | ||
run: echo ${{ steps.scheduled.outputs.milestones }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 22 days ago
To fix the issue, we need to add a permissions
block to the workflow. Since the workflow uses the GITHUB_TOKEN
to create milestones, it requires contents: read
(to read repository contents) and issues: write
(to create milestones). These permissions should be explicitly defined at the job level to ensure the workflow has only the necessary access.
The permissions
block will be added under the generate
job, specifying contents: read
and issues: write
.
-
Copy modified lines R9-R11
@@ -8,2 +8,5 @@ | ||
generate: | ||
permissions: | ||
contents: read | ||
issues: write | ||
runs-on: ubuntu-latest |
Signed-off-by: GK <[email protected]>
No description provided.