Skip to content

Commit d2c8956

Browse files
committed
Add blog process comment and rename workflow
Signed-off-by: Fanit Kolchina <[email protected]>
1 parent 1795292 commit d2c8956

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/check-for-issue.yml renamed to .github/workflows/process-new-blog.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ jobs:
2626
else
2727
echo "is_new_blog=false" >> $GITHUB_OUTPUT
2828
fi
29+
30+
- name: Add blog process comment
31+
if: steps.check-new-blog.outputs.is_new_blog == 'true'
32+
uses: peter-evans/create-or-update-comment@v3
33+
with:
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
issue-number: ${{ github.event.pull_request.number }}
36+
body: |
37+
Thank you for submitting a blog!
38+
39+
The blog process is Submit a PR -> (Optional) Peer review -> Doc review -> Editorial review -> Marketing review -> Published.
2940
3041
- name: Check for linked issues
3142
if: steps.check-new-blog.outputs.is_new_blog == 'true'

0 commit comments

Comments
 (0)