diff --git a/.github/workflows/notify-pr.yml b/.github/workflows/notify-pr.yml index ca1ff9c5..aaf791cf 100644 --- a/.github/workflows/notify-pr.yml +++ b/.github/workflows/notify-pr.yml @@ -9,8 +9,8 @@ jobs: steps: - run: | echo "{\"text\":\"Vultr-node : PR https://github.com/vultr/vultr-node/pull/${{ github.event.number }} \"}" > mattermost.json - - uses: mattermost/action-mattermost-notify@master - env: + - uses: mattermost/action-mattermost-notify@2.0.0 + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}} MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3229903e..9f28620d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,8 +93,8 @@ jobs: run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - run: | echo "{\"text\":\"Vultr-Node : Release https://github.com/${{ github.repository }}/releases/tag/${{ needs.create-tag.outputs.new_tag }} \"}" > mattermost.json - - uses: mattermost/action-mattermost-notify@master - env: + - uses: mattermost/action-mattermost-notify@2.0.02.0.02.0.0 + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}} - MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }} \ No newline at end of file + MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}