Skip to content

Commit 517ad3b

Browse files
committed
fix: adds missing string replace for migrate-repo-template workflow
1 parent 8e04c55 commit 517ad3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/0.initial.migrate-repo-template.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
default: 'org.acme.fancy.lib'
2020
type: string
2121
email:
22-
description: 'Contact email (CONTRIBUTING.md)'
22+
description: 'Contact email (CODE_OF_CONDUCT.md)'
2323
required: true
2424
default: '[email protected]'
2525
type: string
@@ -141,7 +141,9 @@ jobs:
141141
# CONTRIBUTING
142142
sed -i "s@$GITHUB_REPOSITORY_OLD@$GITHUB_REPOSITORY@g" CONTRIBUTING.md
143143
sed -i "s@$ARTIFACT_NAME_OLD@$GITHUB_REPOSITORY_NAME@g" CONTRIBUTING.md
144-
sed -i "s/[email protected]/$INPUT_EMAIL/g" CONTRIBUTING.md
144+
145+
# CODE_OF_CONDUCT
146+
sed -i "s/[email protected]/$INPUT_EMAIL/g" CODE_OF_CONDUCT.md
145147
146148
# cleanup this very GitHub Actions workflow yml
147149
rm .github/workflows/0.initial.migrate-repo-template.yml

0 commit comments

Comments
 (0)