We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 715de61 commit d2e1ac0Copy full SHA for d2e1ac0
.github/workflows/process-single-user.yml
@@ -1,9 +1,15 @@
1
name: Process Single User
2
-run-name: Process @${{ github.event.client_payload.username }}
+run-name: Process @${{ github.event.client_payload.username || inputs.username }}
3
4
on:
5
repository_dispatch:
6
types: [new_instagram_post]
7
+ workflow_dispatch:
8
+ inputs:
9
+ username:
10
+ description: 'Instagram username to process'
11
+ required: true
12
+ type: string
13
14
jobs:
15
process-post:
@@ -36,7 +42,7 @@ jobs:
36
42
EMAIL_HASH_KEY: ${{ secrets.EMAIL_HASH_KEY }}
37
43
# --- Apify Token ---
38
44
APIFY_API_TOKEN: ${{ secrets.APIFY_API_TOKEN }}
39
- TARGET_USERNAME: ${{ github.event.client_payload.username }}
45
+ TARGET_USERNAME: ${{ github.event.client_payload.username || inputs.username }}
40
46
MAX_CONCURRENT_TASKS: 1
41
47
48
steps:
0 commit comments