Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit bf09e48

Browse files
authored
Add DevSkim scanning and resolve initial alerts (#778)
1 parent 79ad94d commit bf09e48

File tree

17 files changed

+47
-16
lines changed

17 files changed

+47
-16
lines changed

.github/workflows/devskim.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: DevSkim
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
schedule:
10+
# set schedule to run at 2AM PT on Saturdays
11+
- cron: '0 9 * * Sat'
12+
13+
jobs:
14+
lint:
15+
name: DevSkim
16+
runs-on: ubuntu-latest
17+
permissions:
18+
actions: read
19+
contents: read
20+
security-events: write
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v3
24+
25+
- name: Run DevSkim scanner
26+
uses: microsoft/DevSkim-Action@v1
27+
28+
- name: Upload DevSkim scan results to GitHub Security tab
29+
uses: github/codeql-action/upload-sarif@v2
30+
with:
31+
sarif_file: devskim-results.sarif

BasicGates/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

CHSHGame/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

DeutschJozsaAlgorithm/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

GHZGame/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

GroversAlgorithm/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

JointMeasurements/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

KeyDistribution_BB84/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

MagicSquareGame/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

Measurements/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

PhaseEstimation/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

QEC_BitFlipCode/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

SimonsAlgorithm/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

SolveSATWithGrover/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

SuperdenseCoding/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

Superposition/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

Teleportation/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
55
"quantum.quantum-devkit-vscode"

0 commit comments

Comments
 (0)