alerts #270
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
name: alerts | |
on: | |
workflow_run: | |
workflows: | |
- extension | |
types: | |
- completed | |
jobs: | |
alert: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: | | |
echo "$GITHUB_CONTEXT" | |
- name: Dump env | |
env: | |
ENV_JSON: ${{ toJson(env) }} | |
run: | | |
echo "$ENV_JSON" | |
- name: Call BrakeCODE API via GitHub Action | |
uses: june07/brakecode-alert-github-action@v1-beta8 | |
with: | |
api-key: ${{ secrets.BRAKECODE_API_KEY }} | |
title: "GitHub workflow completed." | |
content: "${{ github.repository }}" | |
badge-text: "${{ github.repository }}" | |
badge-color: "#FF9800" |