-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1765d1f
commit 0f83133
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: . 🕵🏼 Trivy scanner for docker | ||
on: | ||
push: | ||
branches: | ||
- test_slack_webhook | ||
jobs: | ||
trivy_scanner_scheduled: | ||
name: Scheduled Trivy scanner for docker | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Send notification to Slack Workflow | ||
id: slack | ||
uses: slackapi/slack-github-action@v1.22.0 | ||
with: | ||
# This data can be any valid JSON from a previous step in the GitHub Action | ||
payload: | | ||
{ | ||
"text": ":rotating_light: Hello my friend :wave:. This is a test. If you see this, please ping @rruizdegauna . Thanks :homer-dissapear: :rotating_light:" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.CAOS_SLACK_WEBHOOK }} |