Merge pull request #64244 from twangboy/fix_update_winrepo

[master] Fix update winrepo
This commit is contained in:
Shane Lee 2023-05-05 15:24:39 -06:00 committed by GitHub
commit a02127f7db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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