Skip to content

Commit b254407

Browse files
committed
ENH: Improve Github Actions badge to include target
1 parent ad3c272 commit b254407

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
ITKModuleTemplate
22
=================
33

4-
![](https://github.com/InsightSoftwareConsortium/ITKModuleTemplate/workflows/Build,%20test,%20package/badge.svg)
4+
[![][gha-img]][gha-link]
5+
6+
[gha-img]: https://github.com/InsightSoftwareConsortium/ITKModuleTemplate/actions/workflows/build-test-package.yml/badge.svg)
7+
[gha-link]: https://github.com/InsightSoftwareConsortium/ITKModuleTemplate/actions/workflows/build-test-package.yml
8+
59

610
Overview
711
--------

{{cookiecutter.project_name}}/README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{{ cookiecutter.project_name }}
22
=================================
33

4-
.. image:: {{ cookiecutter.download_url }}/workflows/Build,%20test,%20package/badge.svg
5-
:alt: Build Status
4+
.. image:: {{ cookiecutter.download_url }}/actions/workflows/build-test-package.yml/badge.svg
5+
:target: {{ cookiecutter.download_url }}/actions/workflows/build-test-package.yml
6+
:alt: Build Status
67

78
.. image:: https://img.shields.io/pypi/v/{{ cookiecutter.python_package_name }}.svg
89
:target: https://pypi.python.org/pypi/{{ cookiecutter.python_package_name }}

0 commit comments

Comments
 (0)