diff --git a/.github/workflows/notify-issue.yml b/.github/workflows/notify-issue.yml index 8b58c9c4..9446f05d 100644 --- a/.github/workflows/notify-issue.yml +++ b/.github/workflows/notify-issue.yml @@ -11,8 +11,8 @@ jobs: steps: - run: | echo "{\"text\":\"Vultr-CLI : New Issue https://github.com/vultr/vultr-cli/issues/${{ github.event.issue.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/notify-pr.yml b/.github/workflows/notify-pr.yml index 74be9079..c3948193 100644 --- a/.github/workflows/notify-pr.yml +++ b/.github/workflows/notify-pr.yml @@ -9,8 +9,8 @@ jobs: steps: - run: | echo "{\"text\":\"Vultr-CLI : PR https://github.com/vultr/vultr-cli/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 }} \ No newline at end of file + MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}