Переглянути джерело

Update codeql.yml

Signed-off-by: DerSkythe <31771569+derskythe@users.noreply.github.com>
DerSkythe 2 роки тому
батько
коміт
66f4fc81c1
1 змінених файлів з 4 додано та 6 видалено
  1. 4 6
      .github/workflows/codeql.yml

+ 4 - 6
.github/workflows/codeql.yml

@@ -50,10 +50,7 @@ jobs:
       RELATIVE_PATH: "applications/external/subbrute"
       RELATIVE_PATH: "applications/external/subbrute"
       CURRENT_VERSION: ${{ vars.RELEASE_VERSION }}
       CURRENT_VERSION: ${{ vars.RELEASE_VERSION }}
       RELEASE_VERSION: ${{ vars.RELEASE_VERSION }}
       RELEASE_VERSION: ${{ vars.RELEASE_VERSION }}
-      ZIP_NAME: ''
-      ZIP_TAG: ''
-      TGZ_NAME: ''
-      TGZ_TAG: ''
+      TOKEN: ${{ secrets.DEPENDABOT }}
       
       
     steps:
     steps:
     - name: Checkout Firmware Files
     - name: Checkout Firmware Files
@@ -63,6 +60,7 @@ jobs:
         clean: "true"
         clean: "true"
         submodules: "true"
         submodules: "true"
         ref: "dev"
         ref: "dev"
+        fetch-depth: '0'
     
     
     - name: Checkout Repo Files
     - name: Checkout Repo Files
       uses: actions/checkout@v3
       uses: actions/checkout@v3
@@ -71,7 +69,7 @@ jobs:
         clean: "true"
         clean: "true"
         submodules: "true"
         submodules: "true"
         path: "${{ env.OFW_PATH }}"
         path: "${{ env.OFW_PATH }}"
-
+        fetch-depth: '0'
 
 
     # Initializes the CodeQL tools for scanning.
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
     - name: Initialize CodeQL
@@ -119,5 +117,5 @@ jobs:
       uses: github/codeql-action/analyze@v2
       uses: github/codeql-action/analyze@v2
       with:
       with:
         category: "/language:${{matrix.language}}"
         category: "/language:${{matrix.language}}"
-        token: ${{ github.token }}
+        token: ${{ secrets.DEPENDABOT }}