diff --git a/.github/workflows/scripts/update_winrepo.py b/.github/workflows/scripts/update_winrepo.py index b12d6558a4d..c0f2d00f417 100644 --- a/.github/workflows/scripts/update_winrepo.py +++ b/.github/workflows/scripts/update_winrepo.py @@ -23,8 +23,8 @@ new_contents = [] added = False for line in current_contents: new_contents.append(line) - if "for version in [" in line and not added: - new_contents.append(f" '{version}',\n") + if "load_yaml as versions_relenv" in line and not added: + new_contents.append(f"- {version}\n") added = True with open(file, "w") as f: diff --git a/.github/workflows/update_winrepo.yml b/.github/workflows/update_winrepo.yml index 91ce9df6f73..7c5ccb844f9 100644 --- a/.github/workflows/update_winrepo.yml +++ b/.github/workflows/update_winrepo.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v3 with: path: winrepo - repository: twangboy/salt-winrepo-ng + repository: saltstack/salt-winrepo-ng - name: Set Up Python 3.10 uses: actions/setup-python@v4