UX/UI : Mise en cohérence de l'aspect de la carte "Orientation" sur le Tableau de bord des Employeurs #406
Workflow file for this run
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: 📢 Notify Slack of changed PR | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
notify: | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges | |
if: > | |
github.event.pull_request.merged == true | |
&& !contains(github.event.pull_request.labels.*.name, 'no-changelog') | |
&& !contains(github.event.pull_request.labels.*.name, 'dependencies') | |
runs-on: ubuntu-latest | |
steps: | |
- name: "📢 Notify the #mep-c1 channel" | |
uses: slackapi/slack-github-action@v1.26.0 | |
with: | |
payload: | | |
{ | |
"text": ${{ toJSON(format('<{0}|{1}>', github.event.pull_request.html_url, github.event.pull_request.title)) }} | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MEP_C1_WEBHOOK_URL }} |