dequelabs / axe-api-team-public

Shared configuration, settings, and actions for the Axe API Team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create new slack-notification public action

dequejenn opened this issue · comments

Overview

Repo: https://github.com/dequelabs/axe-api-team-public
GHA Name: slack-notification
Purpose: To generate a Slack notification in a given channel
Usage: This GHA will be called from each repo when the release candidate merges into the release branch, and will post the link of the opened release issue (not PR) into a given slack channel.

Inputs:

  • token (required)
  • slack-channel (requried)
  • slack-title (required)
  • slack-message (required)
  • slack-webhook (optional)
  • msg-minimal (optional)

Outputs:

  • Post sent to Slack

Details

Parse out the existing slack functionality into it's own github action

https://github.com/dequelabs/axe-api-team-public/blob/96267efd07acf7202bfc6bf12fa0584f8a310916/.github/actions/auto-major-minor-release-v1/action.yml#L139C1-L150C26

The action should also have unit tests and a Readme. See https://github.com/JasonEtco/create-an-issue for template on how to do this.

Each of the public actions in https://github.com/dequelabs/axe-api-team-public should include a readme with information on how to use the action and a list all inputs and outputs.

Closing this because it will be part of deploy-release-candidate and doesn't need to be separate