mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Merge pull request #64244 from twangboy/fix_update_winrepo
[master] Fix update winrepo
This commit is contained in:
commit
a02127f7db
2 changed files with 3 additions and 3 deletions
4
.github/workflows/scripts/update_winrepo.py
vendored
4
.github/workflows/scripts/update_winrepo.py
vendored
|
@ -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:
|
||||
|
|
2
.github/workflows/update_winrepo.yml
vendored
2
.github/workflows/update_winrepo.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue