diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 421de335e2..78077f958c 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -63,14 +63,11 @@ jobs: with: db-location: ${{ runner.temp }}/customDbLocation tools: ${{ steps.prepare-test.outputs.tools-url }} - config-file: ./.github/codeql/codeql-config-query-filters1.yml + config-file: ./.github/codeql/codeql-config-registries.yml + languages: javascript registries-auth-tokens: https://ghcr.io/v2=${{ secrets.GITHUB_TOKEN }} - # ensure test will fail if registries block is not used - token: i-am-not-a-token env: TEST_MODE: true - # ensure test will fail if registries block is not used - GITHUB_TOKEN: i-am-not-a-token - name: Verify packages installed run: | PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack" diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml index 0e00e09d5a..c662b3a520 100644 --- a/pr-checks/checks/init-with-registries.yml +++ b/pr-checks/checks/init-with-registries.yml @@ -12,14 +12,11 @@ steps: with: db-location: "${{ runner.temp }}/customDbLocation" tools: ${{ steps.prepare-test.outputs.tools-url }} - config-file: ./.github/codeql/codeql-config-query-filters1.yml + config-file: ./.github/codeql/codeql-config-registries.yml + languages: javascript registries-auth-tokens: https://ghcr.io/v2=${{ secrets.GITHUB_TOKEN }} - # ensure test will fail if registries block is not used - token: i-am-not-a-token env: TEST_MODE: true - # ensure test will fail if registries block is not used - GITHUB_TOKEN: i-am-not-a-token - name: Verify packages installed run: | PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack"