Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/super-linter/super…
Browse files Browse the repository at this point in the history
…-linter-6
  • Loading branch information
golles authored Jun 28, 2024
2 parents eadc14a + 3e8d48c commit 78a6ed5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 31 deletions.
56 changes: 25 additions & 31 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,48 @@
name: Code Scanning - Action
name: CodeQL

on:
push:
pull_request:
branches:
- main
pull_request:
push:
branches:
- main
schedule:
- cron: '31 7 * * 3'

permissions:
actions: read
checks: write
contents: read
security-events: write

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
analyze:
name: Analyze
runs-on: ubuntu-latest

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:
- TypeScript

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
id: initialize
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java, ruby
with:
languages: ${{ matrix.language }}
source-root: src

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
id: autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
id: analyze
uses: github/codeql-action/analyze@v3
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- 'v*.*.*'

permissions:
contents: write

jobs:
build:
name: Make a release for release tag
Expand Down

0 comments on commit 78a6ed5

Please sign in to comment.