remove "Links" in cv #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Slack alert | |
on: | |
issues: | |
types: [closed] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send CDO Message | |
if: contains(github.event.issue.labels.*.name, 'CDO :fire:') | |
run: | | |
curl -X POST -H 'Content-type: application/json' --data '{"text":"[CDO] Issue on Github was just closed :tada:\n:small_blue_diamond:${{ github.event.issue.title }} (Issue <${{ github.event.issue.html_url }}|#${{ github.event.issue.number }}>)"}' ${{ secrets.JMS_KEY }} | |
curl -X POST -H 'Content-type: application/json' --data '{"text":"[CDO] Issue on Github was just closed :tada:\n:small_blue_diamond:${{ github.event.issue.title }} (Issue <${{ github.event.issue.html_url }}|#${{ github.event.issue.number }}>)"}' ${{ secrets.PI_KEY }} | |
- name: Send Regular Message | |
if: "!contains(github.event.issue.labels.*.name, 'CDO :fire:')" | |
run: | | |
curl -X POST -H 'Content-type: application/json' --data '{"text":"[Regular] Issue on Github was just closed :tada:\n:small_blue_diamond:${{ github.event.issue.title }} (Issue <${{ github.event.issue.html_url }}|#${{ github.event.issue.number }}>)"}' ${{ secrets.JMS_KEY }} | |
curl -X POST -H 'Content-type: application/json' --data '{"text":"[Regular] Issue on Github was just closed :tada:\n:small_blue_diamond:${{ github.event.issue.title }} (Issue <${{ github.event.issue.html_url }}|#${{ github.event.issue.number }}>)"}' ${{ secrets.PI_KEY }} |