Skip to content

Commit

Permalink
Updated CodeQL and CD workflow
Browse files Browse the repository at this point in the history
* Updated CodeQL workflow

* Updated CD workflow to create the release notes automatically
  • Loading branch information
marcin-przywoski authored Feb 19, 2024
1 parent f24b4a5 commit 066140b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
--repo "${{ github.event.repository.full_name }}"
--title "${{ github.ref_name }}"
--verify-tag
--generate-notes


9 changes: 0 additions & 9 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@
name: "CodeQL"

on:
workflow_run:
workflows: [ "CI" ]
types: completed
branches: [ "feature/**"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master", "develop" ]
paths:
- '**.cs'
schedule:
- cron: '36 21 * * 0'


jobs:
analyze:
Expand All @@ -48,7 +43,6 @@ jobs:
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
if: github.event_name != 'pull_request'

steps:
- name: Checkout repository
Expand All @@ -65,14 +59,12 @@ jobs:

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
if: github.event_name != 'pull_request'


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

# ℹ️ 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
Expand All @@ -88,4 +80,3 @@ jobs:
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
if: github.event_name != 'pull_request'

0 comments on commit 066140b

Please sign in to comment.