We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdae3ad commit b02a5c0Copy full SHA for b02a5c0
1 file changed
.github/workflows/create_conflicts.yml
@@ -28,8 +28,9 @@ jobs:
28
body="${{ github.event.issue.body }}"
29
30
# Extract dropdown value and scenario file (if typed)
31
- challenge_type=$(echo "$body" | grep -A1 "challenge type" | tail -n1 | tr -d '\r')
32
- scenario_file=$(echo "$body" | grep -A1 "Scenario file name" | tail -n1 | tr -d '\r')
+ challenge_type=$(echo "$body" | grep -A2 "challenge type" | sed '/^$/d' | tail -n1 | tr -d '\r')
+ scenario_file=$(echo "$body" | grep -A2 "Scenario file name" | sed '/^$/d' | tail -n1 | tr -d '\r')
33
+
34
35
# Set fallback defaults
36
fallback_code="code_scenario.rs"
0 commit comments