From 5fd8ac1592b13058c6d7eb0965b083a0d59b4484 Mon Sep 17 00:00:00 2001 From: James Friel Date: Mon, 3 Feb 2025 11:51:56 +0000 Subject: [PATCH] codeql use tags --- .github/workflows/codeql.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 97cfbcf1..7d8c5b23 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,18 @@ jobs: repository: HicServices/RDMP ref: develop path: RDMP - + - name: Get version + id: version + shell: cmd + run: | + perl getversions.pl + perl getversions.pl >> %GITHUB_OUTPUT% + - name: Fetch RDMP latest tag + run: | + cd RDMP + git fetch --unshallow --tags + git checkout v${{steps.version.outputs.rdmpversion}} + cd .. - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: