forked from objectionary/eo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(objectionary#3936): add 'post-comment' workflow
- Loading branch information
1 parent
b7e9601
commit d6324d2
Showing
1 changed file
with
28 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,28 @@ | ||
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com | ||
# SPDX-License-Identifier: MIT | ||
--- | ||
# yamllint disable rule:line-length | ||
name: Post Benchmark Comment | ||
on: | ||
workflow_run: | ||
workflows: [ "Performance Regression Check" ] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
post-comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download Benchmark Comment | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: benchmark-comment | ||
run-id: ${{ github.event.workflow_run.id }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Post Comment on PR | ||
uses: mshick/add-pr-comment@v2 | ||
with: | ||
issue: ${{ github.event.workflow_run.pull_requests[0].number }} | ||
message-path: | | ||
benchmark-comment.md | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |