From 4282b1482dde7b775834920000d8af81f2320620 Mon Sep 17 00:00:00 2001 From: dena Date: Mon, 26 Jan 2026 12:17:35 +0100 Subject: [PATCH] fix mattermost action --- .github/workflows/mattermost.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/mattermost.yml b/.github/workflows/mattermost.yml index f854ae01e..17fcc444f 100644 --- a/.github/workflows/mattermost.yml +++ b/.github/workflows/mattermost.yml @@ -7,13 +7,8 @@ jobs: runs-on: ubuntu-latest if: ${{ github.actor != 'dependabot[bot]' }} steps: - - name: Create the Mattermost Message - env: - TITLE: ${{ github.event.pull_request.title }} - HTML_LINK: ${{ github.event.pull_request.html_url }} - run: > - jq -n --arg t "Pull request opened: [${TITLE}](${HTML_LINK})" '{text: $t}' - > mattermost.json - uses: mattermost/action-mattermost-notify@2.0.0 - env: + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + TEXT: "Pull request opened: [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})" +