learn-linux-shell: This is something we'd like to build, but don&… #4
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: Post Slack message | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'data/scorecards/**' | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Post Slack Message | |
| run: | | |
| curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World from GHA!"}' ${{ env.SLACK_WEBHOOK_URL }} |