-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: create a doc issue when a user-facing issue is done (#12991)
- Loading branch information
1 parent
a4b37a3
commit 272eff4
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Issue Documentation Checker | ||
|
||
on: | ||
issues: | ||
types: | ||
- closed | ||
- labeled | ||
|
||
jobs: | ||
create-issue: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Log the event payload | ||
run: echo "${{ toJSON(github.event) }}" | ||
- 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 }} |
File renamed without changes.