Skip to content

Commit 8806859

Browse files
author
Tomás Ciccola
committed
remove question from clean-content.yml action (so that it can run from a button)
1 parent f5b390c commit 8806859

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/clean-content.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: Clean All Generated Content
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
confirm:
7-
description: 'Type "yes" to confirm deletion of generated content'
8-
required: true
9-
default: "no"
10-
type: choice
11-
options:
12-
- "no"
13-
- "yes"
14-
5+
# inputs:
6+
# confirm:
7+
# description: 'Type "yes" to confirm deletion of generated content'
8+
# required: true
9+
# default: "no"
10+
# type: choice
11+
# options:
12+
# - "no"
13+
# - "yes"
14+
#
1515
# Prevent concurrent content updates to avoid conflicts
1616
concurrency:
1717
group: "content-branch-updates"
@@ -35,15 +35,15 @@ jobs:
3535
- name: Install dependencies
3636
run: bun install
3737

38-
- name: Validate confirmation
39-
run: |
40-
if [ "${{ github.event.inputs.confirm }}" != "yes" ]; then
41-
echo "❌ Confirmation not provided. Operation cancelled."
42-
echo "To proceed, set the 'confirm' input to 'yes'"
43-
exit 1
44-
fi
45-
echo "✅ Confirmation received. Proceeding with cleanup..."
46-
38+
# - name: Validate confirmation
39+
# run: |
40+
# if [ "${{ github.event.inputs.confirm }}" != "yes" ]; then
41+
# echo "❌ Confirmation not provided. Operation cancelled."
42+
# echo "To proceed, set the 'confirm' input to 'yes'"
43+
# exit 1
44+
# fi
45+
# echo "✅ Confirmation received. Proceeding with cleanup..."
46+
#
4747
- name: Clean generated content
4848
run: bun run clean:generated --confirm=yes
4949

0 commit comments

Comments
 (0)