Skip to content

Commit 57ecd96

Browse files
feat: add update-readme-with-congratulations feature flag tofinish-exercise workflow (#38)
Co-authored-by: Christopher W. Blake <chriswblake@github.com>
1 parent a112ab1 commit 57ecd96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/finish-exercise.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
description: "The URL of the issue to update and close"
88
required: true
99
type: string
10+
update-readme-with-congratulations:
11+
description: "Whether to update the README with a congratulations message"
12+
required: false
13+
type: boolean
14+
default: true
1015

1116
permissions:
1217
contents: write
@@ -16,6 +21,7 @@ jobs:
1621
update_readme:
1722
name: Update README with congratulations
1823
runs-on: ubuntu-latest
24+
if: inputs.update-readme-with-congratulations
1925

2026
steps:
2127
- name: Checkout

0 commit comments

Comments
 (0)