Fix typos in workflows
All checks were successful
Synchronize Project Metadata / sync-prj-meta (push) Successful in 6s
All checks were successful
Synchronize Project Metadata / sync-prj-meta (push) Successful in 6s
Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
This commit is contained in:
parent
6b8a623372
commit
4a99805fde
@ -10,7 +10,7 @@ on:
|
||||
- "devel"
|
||||
|
||||
jobs:
|
||||
sync-prjconf:
|
||||
sync-pr-project:
|
||||
runs-on: tumbleweed
|
||||
steps:
|
||||
- run: |
|
||||
|
@ -9,7 +9,7 @@ on:
|
||||
- ".obs/common.py"
|
||||
|
||||
jobs:
|
||||
sync-prjconf:
|
||||
sync-prj-meta:
|
||||
runs-on: tumbleweed
|
||||
steps:
|
||||
- run: |
|
||||
@ -32,7 +32,7 @@ jobs:
|
||||
set -o pipefail
|
||||
if meta="$(osc meta prj "${PROJECT}" 2>/dev/null | sha256sum)"; then
|
||||
new_meta="$(python3 .obs/render_meta.py)"
|
||||
if [ "${meta}" != "$(echo "${new_meta}" | sha256sum)"]; then
|
||||
if [ "${meta}" != "$(echo "${new_meta}" | sha256sum)" ]; then
|
||||
echo "${new_meta}" | osc meta prj "${PROJECT}" -F -
|
||||
fi
|
||||
python3 .obs/sync_packages.py
|
||||
|
@ -9,7 +9,7 @@ from common import PROJECT
|
||||
|
||||
def get_obs_packages() -> Set[str]:
|
||||
packages = subprocess.run(["osc", "ls", PROJECT], encoding='utf-8' , capture_output=True)
|
||||
return set(packages.stdout.splitlines())
|
||||
return { p for p in packages.stdout.splitlines() if ":" not in p }
|
||||
|
||||
def get_local_packages() -> Set[str]:
|
||||
p = pathlib.Path('.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user