diff --git a/.github/workflows/notify-issue.yml b/.github/workflows/notify-issue.yml index 5389809..a55f5f6 100644 --- a/.github/workflows/notify-issue.yml +++ b/.github/workflows/notify-issue.yml @@ -11,8 +11,8 @@ jobs: steps: - run: | echo "{\"text\":\"Vultr-CSI : New Issue https://github.com/${{ github.repository }}/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 }} \ No newline at end of file + MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }} diff --git a/.github/workflows/notify-pr.yml b/.github/workflows/notify-pr.yml index 42c7092..c985559 100644 --- a/.github/workflows/notify-pr.yml +++ b/.github/workflows/notify-pr.yml @@ -9,8 +9,8 @@ jobs: steps: - run: | echo "{\"text\":\"Vultr-CSI : PR https://github.com/${{ github.repository }}/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 }} diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 3c10667..61c443e 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -87,8 +87,8 @@ jobs: run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - run: | echo "{\"text\":\"Vultr-CSI : 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.0 + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}} MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}