Skip to content

docs: format readme #295

docs: format readme

docs: format readme #295

name: test_alert_current
on:
pull_request:
types: [opened, synchronize]
jobs:
alert_current_pr:
env: # Or as an environment variable
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
runs-on: ubuntu-latest
name: Alert Current in Queue
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Alert queue
uses: ./ # Uses an action in the root directory
id: alert
with:
mode: 'ALERT'
channel: 'G01C4NFBUM7'
alert_message: 'build is complete. Time to merge!'
# Use the output from the `alert` step
- name: Get the output status
run: echo "status => ${{ steps.alert.outputs.status }}"