Skip to content

Commit c2c1a24

Browse files
authored
Merge pull request #106 from dsp-testing/shati-patel/copy-internal-changes
Copy internal workflow changes
2 parents f766804 + 8e92c40 commit c2c1a24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/codeql-query.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
repoIds: ${{ fromJSON(github.event.inputs.repoIdChunks) }}
16+
repoNwos: ${{ fromJSON(github.event.inputs.repoNwoChunks) }}
1717

1818
steps:
1919
# Use ::add::mask for all tokens.
@@ -27,14 +27,14 @@ jobs:
2727
xargs -I {} echo "::add-mask::{}"
2828
2929
# Extract the subset of the repositories input that we'll be analysing for this
30-
# job, using the repoIds matrix input.
30+
# job, using the repoNwos matrix input.
3131
- name: Compute subset of repos
3232
id: repos
3333
shell: node {0}
3434
run: |
3535
const allRepos = ${{ github.event.inputs.repositories }};
36-
const repoIds = new Set(${{ toJSON(matrix.repoIds) }});
37-
const repositories = allRepos.filter(r => repoIds.has(r.id));
36+
const repoNwos = new Set(${{ toJSON(matrix.repoNwos) }});
37+
const repositories = allRepos.filter(r => repoNwos.has(r.nwo));
3838
console.log(`::set-output name=repositories::${JSON.stringify(repositories)}`);
3939
4040
# This might not be the cleanest way to get hold of CodeQL but it's reliable

0 commit comments

Comments
 (0)