-
Notifications
You must be signed in to change notification settings - Fork 3
fix: CI Update. #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
fix: CI Update. #15
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,4 @@ updates: | |
| - package-ecosystem: "pip" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| interval: "daily" | ||
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,20 @@ | |||||||||||||||||||||||
| name: Dev Build | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| on: | |||||||||||||||||||||||
| pull_request: | |||||||||||||||||||||||
| types: [opened, synchronize] | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||
| build_whl: | |||||||||||||||||||||||
| strategy: | |||||||||||||||||||||||
| fail-fast: false | |||||||||||||||||||||||
| matrix: | |||||||||||||||||||||||
| python_version: ['3.10', '3.13'] | |||||||||||||||||||||||
| uses: intel/mfd/.github/workflows/pull_request.yml@main | |||||||||||||||||||||||
| secrets: | |||||||||||||||||||||||
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| REPOSITORY_NAME: ${{ github.event.pull_request.head.repo.full_name }} | |||||||||||||||||||||||
| BRANCH_NAME: ${{ github.head_ref }} | |||||||||||||||||||||||
| PYTHON_VERSION: ${{ matrix.python_version }} | |||||||||||||||||||||||
| PROJECT_NAME: 'mfd-hyperv' | |||||||||||||||||||||||
|
Comment on lines
+9
to
+20
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 5 months ago The best practice is to add an explicit
permissions:
contents: read
Suggested changeset
1
.github/workflows/pull_request.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||
This file was deleted.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 5 months ago
To fix this issue, you should add an explicit
permissionsblock in.github/workflows/dependency_review.ymlto restrict the permissions granted to theGITHUB_TOKENfor this workflow/job. Since this is a dependency review workflow, typically it only requirescontents: readpermission to check code dependencies—write access is not required. Thepermissionsblock can be set at the top (workflow root), which will apply to all jobs, or under thedependency_reviewjob itself. Since there is only a single job, adding it at the workflow root is simple, clear, and effective. This involves inserting the following lines near the top of the file, after thename:line:No imports, method or variable changes are needed—just a YAML field addition.