Skip to content

Commit

Permalink
Dat 15853 (#150)
Browse files Browse the repository at this point in the history
* chore(create-release.yml): update version of sonar-push.yml to v0.6.1 for the sonar job in create-release workflow
chore(extension-attach-artifact-release.yml): update version of scripts to v0.6.1 for getting reusable script files in extension-attach-artifact-release workflow
chore(extension-release-prepare.yml): update version of extension-release-rollback.yml to v0.6.1 for the release-rollback job in extension-release-prepare workflow
chore(extension-release-published.yml): update version of extension-release-prepare.yml to v0.6.1 for the maven-release job in extension-release-published workflow
chore(os-extension-test.yml): update version of sonar-pull-request.yml to v0.6.1 for the sonar-pr job in os-extension-test workflow
chore(package-linux.yml): update version of scripts and package-deb-pom.xml to v0.6.1 for getting reusable script files and packaging linux in package-linux workflow
chore(pom-release-published.yml): update version of extension-release-prepare.yml to v0.6.1 for the maven-release job in pom-release-published workflow
chore(pro-extension-test.yml): update version of sonar-pull-request.yml to v0.6.1 for the sonar-pr job in pro-extension-test workflow
chore(synk-nightly.yml): delete synk-nightly workflow
docs(README.md): remove snyk-nightly.yml from the list of reusable workflows in README.md

* chore(codeql.yml): add support for running an extra command before attaching the artifact

The `extraCommand` input parameter has been added to the CodeQL workflow. This allows users to specify an additional command to run before attaching the artifact. The default value is an empty string.

This change provides flexibility for users who may need to run custom commands as part of their workflow.

* chore(codeql.yml): add setup for JDK 17 with Temurin distribution and Maven cache for Java language
  • Loading branch information
jandroav committed Jan 16, 2024
1 parent 5bb07a0 commit 01ac72b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,19 @@ 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

- name: Setup JDK
if: matrix.language == 'java'
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'

- name: Run extra command
if: inputs.extraCommand != ''
run: |
${{ inputs.extraCommand }}
# 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
Expand Down

0 comments on commit 01ac72b

Please sign in to comment.