feat(ci): add slack bot / update buildkite slack bot to report which job failed in ci #2623
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: Issue Documentation Checker | |
on: | |
issues: | |
types: | |
- closed | |
- labeled | |
jobs: | |
create-issue: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check if issue is done and labeled 'user-facing-changes' | |
uses: dacbd/create-issue-action@main | |
if: ${{ github.event.action == 'closed' && contains(github.event.issue.labels.*.name, 'user-facing-changes') }} | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
owner: risingwavelabs | |
repo: risingwave-docs | |
title: | | |
Document: ${{ github.event.issue.title }} | |
body: | | |
## Context | |
Source Issue URL: ${{ github.event.issue.html_url }} | |
Created At: ${{ github.event.issue.created_at }} | |
Created By: ${{ github.event.issue.user.login }} | |
Closed At: ${{ github.event.issue.closed_at }} |