diff --git a/.github/workflows/notify-mm-blog.yml b/.github/workflows/notify-mm-blog.yml index c8c029f..d779121 100644 --- a/.github/workflows/notify-mm-blog.yml +++ b/.github/workflows/notify-mm-blog.yml @@ -18,11 +18,11 @@ jobs: run: | .github/workflows/notify-mm-blog.sh - name: Notify channel 1 - uses: mattermost/action-mattermost-notify@master - env: + uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a #v2.0.0 + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL_1 }} - name: Notify channel 2 - uses: mattermost/action-mattermost-notify@master - env: + uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a #v2.0.0 + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL_2 }}