Skip to content

Commit

Permalink
Created codeql.yml for code scanning (#4)
Browse files Browse the repository at this point in the history
* Created codeql.yml

* Update codeql.yml

* Update README.md

* Update codeql.yml

* Update 2 codeql.yml

* Update codeql.yml

* Update codeql.yml

* Update README.md

* Created codeql.yml for code scanning
  • Loading branch information
or-akl authored Apr 22, 2024
1 parent 9a4669e commit 213e71f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 2 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
language: [ 'ruby' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# homebrew-tap
Homebrew Tap of Akeyless CLI
Homebrew Tap of Akeyless CLI bababa

## What is Homebrew?

Expand Down

0 comments on commit 213e71f

Please sign in to comment.