Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms committed Jun 29, 2024
1 parent 27b65cb commit c885387
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/frontend-technology-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Evaluate actions
id: evaluate-actions
run: |
action_json="${{ inputs.actions }}"
action_json="${{ toJSON(inputs.actions) }}"
action_found=$(jq -r '.[] | select(.action == "FRONTEND_TECHNOLOGY_NOTIFY")' <<< ${action_json})
echo "action_found=[${action_found}]"
[[ -z "${action_found}" || ${action_found} != 'null' ]] && echo 'Action not found' && exit 1
Expand Down Expand Up @@ -95,13 +95,15 @@ jobs:
fail-fast: false
matrix:
member: ${{ fromJSON(needs.slack-channel-resolver.outputs.channel_ids) }}
env:
ISSUE_URL: https://github.com/${{ github.repository }}/issues/${{ needs.resolve-data.outputs.issue_number }}
steps:
- name: Notify member
continue-on-error: true
shell: bash
run: |
channel=${{ matrix.member }}
message="The following github issue has been marked as a Front-end issue:"
message="The following github issue has been marked as a Front-end issue: ${{ env.ISSUE_URL }}"
curl -X POST \
-H "Content-type: application/json" \
Expand Down

0 comments on commit c885387

Please sign in to comment.