Skip to content

Commit

Permalink
Merge pull request #6513 from fturizo/master
Browse files Browse the repository at this point in the history
Minor fix to monitor issues in voting workflow GitHub action
  • Loading branch information
fturizo authored Dec 27, 2023
2 parents d54cbc2 + e551c0a commit 0cb45c2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/monitor-issues-in-voting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,14 @@ jobs:
return await script({github, context, core})
- name: Notify MS Teams channel
id: notify-ms-teams
if: ${{ success() && steps.select-top-voted-issue.outputs.result }}
if: ${{ success() && !steps.select-top-voted-issue.outputs.result == '' }}
uses: simbo/msteams-message-card-action@latest
env:
issueTitle: ${{ fromJSON(steps.select-top-voted-issue.outputs.result).title }}
issueURL: ${{ fromJSON(steps.select-top-voted-issue.outputs.result).url }}
assignee: ${{ fromJSON(steps.select-top-voted-issue.outputs.result).assignee }}
with:
webhook: ${{ secrets.COMMUNITY_EVENTS_WEBHOOK_URL }}
title: An Enhancement Proposal Issue has been selected the top-voted issue!
message: <code>${{ env.issueTitle }}</code> assigned to <strong>${{ env.assignee }}</strong>
message: <code>${{ fromJSON(steps.select-top-voted-issue.outputs.result).title }}</code> assigned to <strong>${{ fromJSON(steps.select-top-voted-issue.outputs.result).assignee }}</strong>
buttons: |
View Issue on GitHub ${{ env.issueURL }}
View Issue on GitHub ${{ fromJSON(steps.select-top-voted-issue.outputs.result).url }}
close-forgotten-voting-issues:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 0cb45c2

Please sign in to comment.