Skip to content

Commit 8b53cca

Browse files
erik-kroghesbena
andauthored
QL: use environment instead of dynamic shell script construction
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent af47cba commit 8b53cca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ql-for-ql-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,14 @@ jobs:
169169
- name: Create CodeQL config file
170170
run: |
171171
echo "paths:" > ${CONF}
172-
echo " - ${{ matrix.folder }}" >> ${CONF}
172+
echo " - ${FOLDER}" >> ${CONF}
173173
echo "paths-ignore:" >> ${CONF}
174174
echo " - ql/ql/test" >> ${CONF}
175175
echo "Config file: "
176176
cat ${CONF}
177177
env:
178178
CONF: ./ql-for-ql-config.yml
179+
FOLDER: ${{ matrix.folder }}
179180

180181
- name: Initialize CodeQL
181182
uses: github/codeql-action/init@erik-krogh/ql

0 commit comments

Comments
 (0)