Skip to content

Commit 0308a5d

Browse files
committed
Avoid making an API call in test
This call fails since we are explicitly using an invalid token.
1 parent 6eadf13 commit 0308a5d

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/__init-with-registries.yml

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/init-with-registries.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ steps:
1212
with:
1313
db-location: "${{ runner.temp }}/customDbLocation"
1414
tools: ${{ steps.prepare-test.outputs.tools-url }}
15-
config-file: ./.github/codeql/codeql-config-query-filters1.yml
15+
config-file: ./.github/codeql/codeql-config-registries.yml
1616
registries-auth-tokens: https://ghcr.io/v2=${{ secrets.GITHUB_TOKEN }}
17-
# ensure test will fail if registries block is not used
18-
token: i-am-not-a-token
1917
env:
2018
TEST_MODE: true
21-
# ensure test will fail if registries block is not used
22-
GITHUB_TOKEN: i-am-not-a-token
2319
- name: Verify packages installed
2420
run: |
2521
PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy