@@ -107,27 +107,7 @@ jobs:
107107 uses : ./analyze
108108 with :
109109 category : " /language:javascript"
110- upload : ${{ (github.repository == 'github/codeql-action' && matrix.os == 'ubuntu-24.04' && !matrix.tools && github.event_name != 'merge_group' && 'always' ) || 'never' }}
111- - name : Checkout
112- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
113- - name : Initialize CodeQL
114- uses : ./init
115- id : init
116- with :
117- languages : javascript
118- config-file : ./.github/codeql/codeql-config-javascript.yml
119- tools : ${{ matrix.tools }}
120- # confirm steps.init.outputs.codeql-path points to the codeql binary
121- - name : Print CodeQL Version
122- run : >
123- "$CODEQL" version --format=json
124- env :
125- CODEQL : ${{steps.init.outputs.codeql-path}}
126- - name : Perform CodeQL Analysis
127- uses : ./analyze
128- with :
129- category : " /language:javascript"
130- upload : ${{ (matrix.os == 'ubuntu-24.04' && !matrix.tools && github.event_name != 'merge_group' && 'always' ) || 'never' }}
110+ upload : ${{ (matrix.os == 'ubuntu-24.04' && !matrix.tools && github.event_name != 'merge_group' && 'always' ) || 'never' }}
131111
132112 analyze-other :
133113 if : github.triggering_actor != 'dependabot[bot]'
@@ -161,22 +141,4 @@ jobs:
161141 uses : ./analyze
162142 with :
163143 category : " /language:${{ matrix.language }}"
164- upload : ${{ (github.repository == 'github/codeql-action' && github.event_name != 'merge_group' && 'always') || 'never' }}
165- - name : Checkout
166- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
167- - name : Initialize CodeQL
168- uses : ./init
169- with :
170- languages : ${{ matrix.language }}
171- build-mode : none
172- config : >
173- paths-ignore:
174- - lib
175- - tests
176- queries:
177- - uses: security-and-quality
178- - name : Perform CodeQL Analysis
179- uses : ./analyze
180- with :
181- category : " /language:${{ matrix.language }}"
182- upload : ${{ (github.event_name != 'merge_group' && 'always') || 'never' }}
144+ upload : ${{ (github.event_name != 'merge_group' && 'always') || 'never' }}
0 commit comments