docs: format readme #295
Workflow file for this run
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: 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 }}" |