update repository URL #7
Workflow file for this run
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: Notify with Slack | |
| on: push | |
| jobs: | |
| notify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Post a message in a channel | |
| uses: slackapi/slack-github-action@v2.1.1 | |
| with: | |
| webhook: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| webhook-type: incoming-webhook | |
| payload: | | |
| text: "Hello!!!!!!!!!!!" | |
| blocks: | |
| - type: "section" | |
| text: | |
| type: "mrkdwn" | |
| text: "<${{ github.event.repository.html_url }}|*Repository*> :star: \n | |
| *Pushed by*: ${{ github.event.pusher.name }} \n | |
| *Branch*: ${{ github.ref_name }} \n | |
| *Commit message*: ${{ github.event.head_commit.message }} | |
| " | |
| accessory: | |
| type: "image" | |
| image_url: "${{ github.event.repository.owner.avatar_url }}" | |
| alt_text: "User Avatar" | |
| - type: "section" | |
| fields: | |
| - type: "mrkdwn" | |
| text: "*Job Status*: ${{ job.status }}" |