-
Notifications
You must be signed in to change notification settings - Fork 28
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
copy workflows from blueapi, [still need to configure env values -not a code change] #664
Open
stan-dot
wants to merge
14
commits into
main
Choose a base branch
from
662-add-codeql-and-sonarcloud-steps-to-the-ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4dbacd6
copy from blueapi, still need to configure env values
stan-dot b2758c6
lint
stan-dot 03f5494
add sonar config
stan-dot ff757fe
address comments
stan-dot 8d8a696
deleted sonar properites
stan-dot e7cec0f
simplify codeql yaml logic
stan-dot e1b345f
respond to feedback
stan-dot 698b7b2
remove unneeded inputs
stan-dot 0a6fcc6
fix filename suffix
stan-dot 999ec8c
reducing permissions
stan-dot 1012be2
manual lint
stan-dot f7bf196
all good now
stan-dot d4724d0
add codeql analysis step
stan-dot 629f54e
attempt to add SARIF upload
stan-dot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze (python) | ||
# Runner size impacts CodeQL analysis time. To learn more, please see: | ||
# - https://gh.io/using-larger-runners (GitHub.com only) | ||
runs-on: "ubuntu-latest" | ||
timeout-minutes: 120 | ||
permissions: | ||
# required for all workflows | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: python | ||
build-mode: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing these lines:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what a misleading CI job, it was all green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah right I made a delete for the whole section instead of selectively
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushes to this branch will not trigger CodeQL, it only runs periodically.
To test your changes please hit the "run workflow" button and choose your branch here:
https://github.com/bluesky/ophyd-async/actions/workflows/periodic.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok nice I didn't know about that option
https://github.com/bluesky/ophyd-async/actions/runs/13112978405/job/36580769757
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this run was successfull but I haven't seen the successfull scans here https://github.com/bluesky/ophyd-async/security/code-scanning
investigating
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debugging the path (?)![image](https://private-user-images.githubusercontent.com/56644812/409124099-7f63ffc7-8961-45f3-bc68-c2d190c8fcb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjI5MTYsIm5iZiI6MTczOTE2MjYxNiwicGF0aCI6Ii81NjY0NDgxMi80MDkxMjQwOTktN2Y2M2ZmYzctODk2MS00NWYzLWJjNjgtYzJkMTkwYzhmY2IzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NDMzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5MTY1NTg5NzZjYjgyY2E5ODJkOTM5NzQxNWQ4ZDQzYmRjMDgxYTNlNjIzNzY0MjdkMzhmMTM2MWZmMDQwNzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KX5Tma1LjciN0y8ThLgiZYMfge8dFv6F23HONPUP3ds)