Skip to content

Commit

Permalink
Don't verify repo creds
Browse files Browse the repository at this point in the history
  • Loading branch information
amd-chrissosa committed Feb 12, 2025
1 parent e4c7120 commit 25da84f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_windows_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
git config --global user.email "nobody@amd.com"
git config --global user.name "Nobody"
python ./build_tools/fetch_sources.py --depth 1
python ./build_tools/fetch_sources.py --depth 1 --no-repo-verify
- name: List files (symlinks?)
run: ls -la base/
Expand Down
8 changes: 8 additions & 0 deletions build_tools/fetch_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def run(args):
str(repo_tool_path),
"init",
"-v",
if not args.repo_verify: "--no-repo-verify" else "",
"-u",
args.manifest_url,
"-m",
Expand Down Expand Up @@ -129,6 +130,13 @@ def populate_submodules_if_exists(git_dir: Path):

def main(argv):
parser = argparse.ArgumentParser(prog="fetch_sources")
parser.add_option(
"--no-repo-verify",
dest="repo_verify",
default=True,
action="store_false",
help="do not verify repo source code",
)
parser.add_argument(
"--dir", type=Path, help="Repo dir", default=DEFAULT_SOURCES_DIR
)
Expand Down

0 comments on commit 25da84f

Please sign in to comment.