Skip to content

Commit

Permalink
Merge pull request #360 from stackhpc/handle-empty-release-list
Browse files Browse the repository at this point in the history
Handle empty release list
  • Loading branch information
Alex-Welsh authored Dec 13, 2024
2 parents 3292612 + 4f34011 commit b9e791a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/source-repo-sync/templates/upstream-sync.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name: Upstream Sync
permissions:
contents: write
pull-requests: write
{% if repository_manifest.releases %}
jobs:
{% for release in repository_manifest.releases %}
synchronise-{{ release | replace(".", "-") }}:
Expand All @@ -15,3 +16,6 @@ jobs:
with:
release_series: {{ release }}
{% endfor %}
{% else %}
jobs: {}
{% endif %}

0 comments on commit b9e791a

Please sign in to comment.