⚡ Trigger schutzbot using github actions
Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
56c4922c8f
commit
51aa1c771c
2 changed files with 37 additions and 0 deletions
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
|
|
@ -53,6 +53,19 @@ jobs:
|
|||
- name: Send coverage to codecov.io
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
- name: Trigger Schutzbot
|
||||
env:
|
||||
EVENT_NAME: ${{ github.event_name }}
|
||||
WEBHOOK_PAYLOAD: ${{ toJSON(github.event) }}
|
||||
SQS_REGION: us-east-1
|
||||
SQS_QUEUE_URL: "https://sqs.us-east-1.amazonaws.com/933752197999/schutzbot_webhook_sqs-staging"
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.WEBHOOK_AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.WEBHOOK_AWS_SECRET_ACCESS_KEY }}
|
||||
run: |
|
||||
#!/bin/bash
|
||||
pip3 install boto3
|
||||
schutzbot/send_webhook.py
|
||||
|
||||
shellcheck:
|
||||
name: "🐚 Shellcheck"
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue