Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
code scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
IT SEC BOT authored and IT SEC BOT committed Feb 15, 2022
1 parent 1f94334 commit a56c2fa
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
name: "IT Security Code Scan"

on:
push:
# The branches below must be a subset of the branches above
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
Expand All @@ -14,7 +17,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: [self-hosted, linux, x64, aws-runner-1]
runs-on: [self-hosted, linux, x64, auto-scale, aws, cluster2]

strategy:
fail-fast: false
Expand All @@ -28,6 +31,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- run: rm -rf /home/ec2-user/actions-runner/_work/_temp/codeql_databases
- run: eval "$(ssh-agent -s)"
ssh-add /home/ec2-user/.ssh/id_ed25519
- run: git config --global --add url."[email protected]:".insteadOf "https://github.com/"

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down

0 comments on commit a56c2fa

Please sign in to comment.