For support ticket related issue: Remove GITHUB_OUTPUT redirect and further improve matching
This commit is contained in:
parent
05ca97a202
commit
2ad15cf3dc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/issue-support.yml
vendored
4
.github/workflows/issue-support.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CUSTOMER_TEXT: "What type of Synergy user are you?[[:space:]]*\bCustomer\b"
|
CUSTOMER_TEXT: "What type of Synergy user are you?[[:space:]]*\bCustomer\b"
|
||||||
MISSING_TICKET_TEXT: "Support ticket number (for customers)[[:space:]]*\bNo response\b"
|
MISSING_TICKET_TEXT: "Support ticket number (for customers)[[:space:]]*\b_No response_\b"
|
||||||
COMMENT_BODY: |
|
COMMENT_BODY: |
|
||||||
Hello, as a customer, you're entitled to tech support which is included in your license.
|
Hello, as a customer, you're entitled to tech support which is included in your license.
|
||||||
Please [raise a support ticket](https://symless.com/synergy/contact) if you'd like to take advantage of that.
|
Please [raise a support ticket](https://symless.com/synergy/contact) if you'd like to take advantage of that.
|
||||||
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
ISSUE_BODY="${{ github.event.issue.body }}"
|
ISSUE_BODY="${{ github.event.issue.body }}"
|
||||||
NO_TICKET=$(echo "$ISSUE_BODY" | grep -z -q "$MISSING_TICKET_TEXT" && echo "true" || echo "false")
|
NO_TICKET=$(echo "$ISSUE_BODY" | grep -z -q "$MISSING_TICKET_TEXT" && echo "true" || echo "false")
|
||||||
RESULT="no_ticket=${NO_TICKET}" >> $GITHUB_OUTPUT
|
RESULT="no_ticket=${NO_TICKET}"
|
||||||
echo $RESULT
|
echo $RESULT
|
||||||
echo $RESULT >> $GITHUB_OUTPUT
|
echo $RESULT >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue