Skip to content
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

SRE-1589 remove codeql #157

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/actions/code_ql/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions .github/actions/code_ql/action.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/code_ql/mocks.ts

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/backend_deployment_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,3 @@ jobs:
# Not all deployments build code
- if: ${{ inputs.use-build }}
run: npm run build
security:
name: Security
runs-on: scaleset-jupiterone-infra-amd64
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: ${{ inputs.language }}
4 changes: 0 additions & 4 deletions .github/workflows/docs/frontend/frontend_npm_pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ jobs:
graph LR;
A[start flow];
B[validate];
C[security];

A --> B;
A --> C;
```

### With Chromatic
Expand All @@ -69,10 +67,8 @@ graph LR;
A[start flow];
B[validate];
C[chromatic_upload];
D[security];

A --> B;
A --> C;
A --> D;
```

4 changes: 0 additions & 4 deletions .github/workflows/docs/frontend/frontend_npm_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ graph LR;
B[validate];
C[release];
D[cortex];
E[security];

A --> B;
B --> C;
B --> D;
A --> E;
```

### With Chromatic
Expand Down Expand Up @@ -79,11 +77,9 @@ graph LR;
C[chromatic_publish]
D[release];
E[cortex];
F[security];

A --> B;
B --> C;
B --> D;
B --> E;
A --> F;
```
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@ graph LR;
B[migration_number];
C[magic_url];
D[validate];
E[security];

A --> B;
A --> D;
A --> E;
B --> C;
```

Expand Down Expand Up @@ -81,13 +79,11 @@ graph LR;
C[magic_url];
D[validate];
E[chromatic_upload];
F[security];
G[pr_comment]

A --> B;
A --> D;
A --> E;
B --> C;
A --> F;
A --> G;
```
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ jobs:
```mermaid
graph LR;
A[start flow];
B[security];
C[validate];
D[cortex];

A --> B;
A;
A --> C --> D;
```

Expand All @@ -73,12 +72,10 @@ jobs:
```mermaid
graph LR;
A[start flow];
B[security];
C[validate];
D[cortex];
E[chromatic_publish];

A --> B;
A --> C;
C --> D;
C --> E;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,10 @@ graph LR;
B[migration_number];
C[magic_url];
D[validate];
E[security];
F[pr_comment];

A --> B;
A --> D;
A --> E;
B --> C;
A --> F;
```
Expand Down Expand Up @@ -78,12 +76,10 @@ graph LR;
C[magic_url];
D[validate];
E[chromatic_upload];
F[security];

A --> B;
A --> D;
A --> E;
A --> F;
B --> C;
```

2 changes: 0 additions & 2 deletions .github/workflows/docs/provision_only_pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
graph LR;
A[start flow];
B[validate];
C[security];

A --> B;
A --> C;
```

2 changes: 0 additions & 2 deletions .github/workflows/docs/provision_only_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ jobs:
graph LR;
A[start flow];
B[validate];
C[security];
D[version_artifact];

A --> B;
A --> C;
B --> D;
```

13 changes: 0 additions & 13 deletions .github/workflows/frontend_npm_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,6 @@ jobs:
- name: build
uses: jupiterone/.github/.github/actions/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'

chromatic_upload:
# Name targeted by branch protections, do not change
name: Visual Regression
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/frontend_npm_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,6 @@ jobs:
- name: build
uses: jupiterone/.github/.github/actions/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'

chromatic_publish:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-arm64' }}
needs: validate
Expand Down Expand Up @@ -115,4 +102,4 @@ jobs:
- name: cortex
uses: jupiterone/.github/.github/actions/frontend/[email protected]
with:
cortex_api_key: ${{ secrets.CORTEX_API_KEY }}
cortex_api_key: ${{ secrets.CORTEX_API_KEY }}
13 changes: 0 additions & 13 deletions .github/workflows/frontend_runtime_application_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,6 @@ jobs:
- name: validate
uses: jupiterone/.github/.github/actions/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'

chromatic_upload:
# Name targeted by branch protections, do not change
name: Visual Regression
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/frontend_runtime_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ jobs:
uses: jupiterone/.github/.github/actions/[email protected]
- name: build
uses: jupiterone/.github/.github/actions/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'

chromatic_publish:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-arm64' }}
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/frontend_runtime_utility_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,6 @@ jobs:
- name: remote_types_tests
uses: jupiterone/.github/.github/actions/frontend/runtime/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'

chromatic_upload:
# Name targeted by branch protections, do not change
name: Visual Regression
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/provision_only_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,3 @@ jobs:
- uses: hashicorp/setup-terraform@v2
- name: validate
uses: jupiterone/.github/.github/actions/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'
13 changes: 0 additions & 13 deletions .github/workflows/provision_only_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,6 @@ jobs:
- uses: hashicorp/setup-terraform@v2
- name: validate
uses: jupiterone/.github/.github/actions/[email protected]

security:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
permissions:
actions: read
security-events: write
contents: read
steps:
- uses: actions/checkout@v3
- name: security
uses: jupiterone/.github/.github/actions/[email protected]
with:
language: 'javascript'

version_artifact:
runs-on: ${{ (inputs.fallback_runner && 'ubuntu-latest') || 'scaleset-jupiterone-infra-amd64' }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test/frontend_npm_pr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ test('validate inputs and secrets', async () => {
const chromatic_inputs = getTestResult({ results, name: 'chromatic_inputs' });

expect(chromatic_inputs.output).toContain(`chromatic_project_token=***`);

// code_ql
const code_ql_inputs = getTestResult({ results, name: 'code_ql_inputs' });

expect(code_ql_inputs.output).toContain(`language=javascript`);
});

test('default flow', async () => {
Expand Down
Loading
Loading