Skip to content

Commit b8f3a3e

Browse files
committed
refactor(rollback): simplify descriptions and formatting in rollback.yml
1 parent b26edd1 commit b8f3a3e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/rollback.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Rollback Deployment
22
run-name: >
3-
Rollback
4-
${{
3+
Rollback ${{
54
github.event.inputs.rollback_api == 'true' && 'api, ' || ''
65
}}${{
76
github.event.inputs.rollback_worker == 'true' && 'worker, ' || ''
@@ -58,13 +57,13 @@ on:
5857
default: true
5958

6059
rollback_webhook:
61-
description: "Rollback Webhook (staging / production-us / production-eu only)"
60+
description: "Rollback Webhook"
6261
required: true
6362
type: boolean
6463
default: false
6564

6665
rollback_inbound_mail:
67-
description: "Rollback Inbound Mail (staging / production-us / production-eu only)"
66+
description: "Rollback Inbound Mail"
6867
required: true
6968
type: boolean
7069
default: false
@@ -76,7 +75,9 @@ on:
7675
default: 1
7776

7877
rollback_signoff:
79-
description: "This will rollback the selected services to the previous task definition. This won't rollback any database migration or environment changes. Do you agree?"
78+
description: "This will rollback the selected services to the previous task
79+
definition. This won't rollback any database migration or environment
80+
changes. Do you agree?"
8081
required: true
8182
type: choice
8283
default: "I do not agree"
@@ -296,7 +297,7 @@ jobs:
296297
echo "rollback_matrix=$rollback_matrix" >> $GITHUB_OUTPUT
297298
298299
rollback:
299-
needs: [prepare-matrix]
300+
needs: [ prepare-matrix ]
300301
runs-on: ubuntu-latest
301302
permissions:
302303
contents: read

0 commit comments

Comments
 (0)