Skip to content

Commit 907e135

Browse files
committed
👽 Fix GitHub workflow badge URL
See `badges / shields #8671`.
1 parent a0eb681 commit 907e135

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# create-elm-package
22

3-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/MethodGrab/create-elm-package/CI?style=flat-square)](https://github.com/MethodGrab/create-elm-package/actions/workflows/CI.yaml)
3+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/MethodGrab/create-elm-package/CI.yaml?branch=main&style=flat-square)](https://github.com/MethodGrab/create-elm-package/actions/workflows/CI.yaml)
44
[![npm version](https://img.shields.io/npm/v/create-elm-package?style=flat-square)](https://www.npmjs.com/package/create-elm-package)
55

66
> An [npm initializer](https://docs.npmjs.com/cli/commands/npm-init) for creating new [Elm](https://elm-lang.org) packages.
@@ -25,7 +25,9 @@ Please review the generated code before using it to ensure it meets your needs a
2525
- Automatically publish new versions using [`elm-publish-action`](https://github.com/dillonkearns/elm-publish-action).
2626
Note the initial version 1.0.0 must be published manually.
2727

28-
Note the GitHub workflow assumes your default branch is called `main`. If that's not the case, you can update the 2 references to `main` at the top of `.github/workflows/CI.yaml` after you run the initializer.
28+
Note the GitHub workflow assumes your default branch is called `main`. If that's not the case, you should update the following places after you run the initializer:
29+
- The 2 references to `main` at the top of `.github/workflows/CI.yaml`.
30+
- `?branch=main` in the _GitHub Workflow Status_ badge URL in `README.md`.
2931

3032

3133
## Development

templates/base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# {{PACKAGE_NAME}}
22

3-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/{{PACKAGE_OWNER}}/{{PACKAGE_NAME}}/CI?style=flat-square)](https://github.com/{{PACKAGE_OWNER}}/{{PACKAGE_NAME}}/actions/workflows/CI.yaml)
3+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/{{PACKAGE_OWNER}}/{{PACKAGE_NAME}}/CI.yaml?branch=main&style=flat-square)](https://github.com/{{PACKAGE_OWNER}}/{{PACKAGE_NAME}}/actions/workflows/CI.yaml)
44
[![Elm package](https://img.shields.io/elm-package/v/{{PACKAGE_OWNER}}/{{PACKAGE_NAME}}?style=flat-square)](https://package.elm-lang.org/packages/{{PACKAGE_OWNER}}/{{PACKAGE_NAME}}/latest)
55

66
> {{SUMMARY}}

0 commit comments

Comments
 (0)