Skip to content

Commit 77dba04

Browse files
authored
ci: switch to default runner for codeql
Signed-off-by: Matthias Fax <mat@fax.fyi>
1 parent ead3d36 commit 77dba04

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,14 @@ on:
1010
- cron: '37 22 * * 3'
1111

1212
jobs:
13-
create-runner:
14-
environment: google cloud
15-
runs-on: ubuntu-latest
16-
outputs:
17-
label: ${{ steps.create-runner.outputs.label }}
18-
steps:
19-
- id: create-runner
20-
uses: related-sciences/gce-github-runner@v0.8
21-
with:
22-
token: ${{ secrets.GH_SA_TOKEN }}
23-
project_id: ${{ secrets.GCP_PROJECT_ID }}
24-
service_account_key: ${{ secrets.GCP_SA_KEY }}
25-
#image_project: ubuntu-os-cloud
26-
#image_family: ubuntu-2204-lts
27-
image: projects/github-matfax/global/images/gh-python-ubuntu-2204-jammy-v20230716
28-
machine_zone: europe-north1-b
29-
machine_type: t2d-standard-4
30-
shutdown_timeout: 20
31-
actions_preinstalled: true
32-
boot_disk_type: pd-ssd
3313
analyze:
34-
needs: create-runner
3514
name: analyze
3615
# Runner size impacts CodeQL analysis time. To learn more, please see:
3716
# - https://gh.io/recommended-hardware-resources-for-running-codeql
3817
# - https://gh.io/supported-runners-and-hardware-resources
3918
# - https://gh.io/using-larger-runners
4019
# Consider using larger runners for possible analysis time improvements.
41-
runs-on: ${{ needs.create-runner.outputs.label }}
20+
runs-on: ubuntu-latest
4221
timeout-minutes: 10
4322
permissions:
4423
actions: read

0 commit comments

Comments
 (0)