[New functionality]: How to make request directly using token other than a TableauAuth or a PersonalAccessTokenAuth #4199
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 💬 Send Message to Slack 🚀 | |
| on: [push, pull_request, issues] | |
| jobs: | |
| slack-notifications: | |
| continue-on-error: true | |
| runs-on: ubuntu-latest | |
| name: Sends a message to Slack when a push, a pull request or an issue is made | |
| steps: | |
| - name: Send message to Slack API | |
| continue-on-error: true | |
| uses: archive/github-actions-slack@v2.8.0 | |
| id: notify | |
| with: | |
| slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }} | |
| slack-channel: C019HCX84L9 | |
| slack-text: Hello! Event "${{ github.event_name }}" in "${{ github.repository }}" 🤓 | |
| - name: Result from "Send Message" | |
| run: echo "The result was ${{ steps.notify.outputs.slack-result }}" |