diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index dfa38bf6..cf0808e1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -33,6 +33,7 @@ jobs:
build_push_docker:
name: Build & Push docker image
runs-on: ubuntu-latest
+ needs: publish
permissions:
packages: write
steps:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6694322..1b676bd1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Add your updates here :)
+## [1.5.1] 2023-12-31
+
+- Fix repository display & release job
+
## [1.5.0] 2023-12-29
- Enhance display of repositories in markdown
diff --git a/README.md b/README.md
index 4268ba94..a1c51295 100644
--- a/README.md
+++ b/README.md
@@ -323,7 +323,7 @@ jobs:
# Collect data & generate markdown
- name: GitHub Dependents Info
- uses: nvuillam/github-dependents-info@v1.5.0 # If you trust me enough you can replace version by "main" :)
+ uses: nvuillam/github-dependents-info@v1.5.1 # If you trust me enough you can replace version by "main" :)
# See documentation for variables details: https://github.com/nvuillam/github-dependents-info?tab=readme-ov-file#%EF%B8%8F-usage
with:
repo: ${{ github.repository }}
diff --git a/action.yml b/action.yml
index bd421696..3cc041f3 100644
--- a/action.yml
+++ b/action.yml
@@ -28,7 +28,7 @@ inputs:
runs:
using: "docker"
- image: "docker://nvuillam/github-dependents-info:v1.5.0"
+ image: "docker://nvuillam/github-dependents-info:v1.5.1"
args:
- --repo
- ${{ inputs.repo }}
diff --git a/github_dependents_info/gh_dependents_info.py b/github_dependents_info/gh_dependents_info.py
index f4217cd6..0eb6a286 100644
--- a/github_dependents_info/gh_dependents_info.py
+++ b/github_dependents_info/gh_dependents_info.py
@@ -399,7 +399,9 @@ def build_repo_md_line(self, md_lines, repo1):
image_md = f' '
if "owner" in repo1 and "repo_name" in repo1:
owner_md = "[" + repo1["owner"] + "](https://github.com/" + repo1["owner"] + ")"
- repo_md = "[" + repo1["owner"] + "](https://github.com/" + repo1["owner"] + "/" + repo1["repo_name"] + ")"
+ repo_md = (
+ "[" + repo1["repo_name"] + "](https://github.com/" + repo1["owner"] + "/" + repo1["repo_name"] + ")"
+ )
md_lines += [f"|{image_md} {owner_md} / {repo_md} | {repo_stars} |"]
else:
md_lines += [f"|{image_md} [{repo_label}](https://github.com/{repo_label}) | {repo_stars} |"]
diff --git a/pyproject.toml b/pyproject.toml
index fa1aed4f..4c113c23 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "github-dependents-info"
-version = "1.5.0"
+version = "1.5.1"
description = "Collect information about dependencies between a github repo and other repositories. Results available in JSON, markdown and badges."
readme = "README.md"
authors = ["nvuillam "]