Skip to content

An action to send health status of pipelines in current repository.

License

Notifications You must be signed in to change notification settings

equinor/pipeline-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipeline health check to Slack

Description

This action uses a webhook to post Github Actions workflow statuses to a selected Slack Channel.

How to use

  1. Create a workflow in .github/workflows directory. File must have suffix .yml or .yaml.
on:
  schedule:
    - cron: "0 1 * * *"
jobs:
  health-check:
    runs-on: ubuntu-latest
    name: Health check
    steps:
      - uses: equinor/pipeline-health@v1
        with:
          uri: ${{ secrets.WEBHOOKURI }}
  1. Create a Slack app, or use existing, and create webhook. Copy the Uri.

  1. Create secret in the github repository with name WEBHOOKURI (Github Environment secret or Repository secret) and paste the value from last step into the Value field.

About

An action to send health status of pipelines in current repository.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •