Skip to content

Commit

Permalink
Update complete-support-request-info.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Dec 10, 2024
1 parent 979728b commit d4f37e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/complete-support-request-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: check-1
run: |
if [ "${ROBOT}" == "None" ]; then
echo "WARNING_BODY=- [ ] enter the Robot Name, adjust the Issue Title and add the Robot Label." >> $GITHUB_OUTPUT
echo "WARNING_BODY=- [ ] enter the Robot Name, adjust the Issue Title, and add the Robot Label." >> $GITHUB_OUTPUT
echo "trigger_warning=yes" >> $GITHUB_ENV
echo "ROBOT_NAME=Robot Name" >> $GITHUB_OUTPUT
else
Expand All @@ -40,7 +40,7 @@ jobs:
env:
ROBOT: ${{ steps.issue-parser.outputs.issueparser_robot }}

# Set issue title prefix according to seleced Robot Name
# Set issue title prefix according to selected Robot Name
- name: Update issue title
uses: actions-cool/issues-helper@v3
id: issue-updater-title
Expand All @@ -51,7 +51,7 @@ jobs:
title: "${{ steps.check-1.outputs.ROBOT_NAME }} – ${{ github.event.issue.title }}"
update-mode: 'replace'

# Add Robot Label according to seleced Robot Name
# Add Robot Label according to selected Robot Name
- name: Add robot label
uses: actions-cool/issues-helper@v3
id: issue-updater-label
Expand All @@ -75,6 +75,7 @@ jobs:
TITLE_PLACEHOLDER: "[Give a meaningful title but don't enter the robot name here]"

- name: Check Issue Detailed Context
if: false
id: check-3
run: |
echo ${#CONTEXT}
Expand All @@ -87,7 +88,7 @@ jobs:
env:
CONTEXT: ${{ steps.issue-parser.outputs.issueparser_context }}

- name: Print URL of problematic issue
- name: Print URL of the problematic issue
if: (env.trigger_warning=='yes')
run: |
echo "❌ Problems detected with ${{ github.event.issue.html_url }}"
Expand All @@ -106,7 +107,6 @@ jobs:
You are required to:
${{ steps.check-1.outputs.WARNING_BODY }}
${{ steps.check-2.outputs.WARNING_BODY }}
${{ steps.check-3.outputs.WARNING_BODY }}
<sub>Please, mark the points above as solved once done.</sub>
[^1]: To get to know the allowed options for the dropdown fields, you may peruse the [**`template`**](../blob/master/.github/ISSUE_TEMPLATE/support-request.yml).
Expand Down

0 comments on commit d4f37e2

Please sign in to comment.